Move the `load-path' tweaks to a smaller code snippet
This commit is contained in:
parent
14486854a4
commit
5ea123c549
12
README.org
12
README.org
@ -219,12 +219,6 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
|||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
;; To test my own stuff in my `emacs-user-directory:'
|
|
||||||
(push (expand-file-name emacs-user-directory) load-path)
|
|
||||||
;; To use an Org git clone:
|
|
||||||
(push (expand-file-name "~/VCS/org-mode/lisp") load-path)
|
|
||||||
;; Postpone (require 'org) after shadowing Org and sh-script faces below.
|
|
||||||
|
|
||||||
(require 'cl-lib)
|
(require 'cl-lib)
|
||||||
|
|
||||||
(when (< emacs-major-version 30)
|
(when (< emacs-major-version 30)
|
||||||
@ -321,6 +315,12 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
|||||||
#+caption: Set the third set of Emacs options: upgrade Org and transient.
|
#+caption: Set the third set of Emacs options: upgrade Org and transient.
|
||||||
#+name: lst:3rd-setopt-call
|
#+name: lst:3rd-setopt-call
|
||||||
#+begin_src emacs-lisp -n
|
#+begin_src emacs-lisp -n
|
||||||
|
;; To test my own stuff in my `emacs-user-directory:'
|
||||||
|
(push (expand-file-name emacs-user-directory) load-path)
|
||||||
|
;; To use an Org git clone:
|
||||||
|
(push (expand-file-name "~/VCS/org-mode/lisp") load-path)
|
||||||
|
;; Postpone (require 'org) after shadowing Org and sh-script faces below.
|
||||||
|
|
||||||
;; Enable `package-install-upgrade-built-in' to upgrade Org and transient.
|
;; Enable `package-install-upgrade-built-in' to upgrade Org and transient.
|
||||||
;; Caveat: works with `list-packages' but not with `package-upgrade-all'.
|
;; Caveat: works with `list-packages' but not with `package-upgrade-all'.
|
||||||
;; Disable upgrading other packages by pinning them to "nongnu".
|
;; Disable upgrading other packages by pinning them to "nongnu".
|
||||||
|
Loading…
Reference in New Issue
Block a user