Use Org from git

This commit is contained in:
Gerard Vermeulen 2023-08-17 11:30:30 +02:00
parent 55a68271f4
commit 309e16e40a

View File

@ -229,9 +229,8 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
;;; Code: ;;; Code:
;; To use an Org git clone: ;; To use an Org git clone:
;; (push (expand-file-name "~/VCS/org-mode/lisp") load-path) (push (expand-file-name "~/VCS/org-mode/lisp") load-path)
;; (require 'org) ;; uncomment for first time native compilation of the clone. ;; Postpone (require 'org) after shadowing Org and sh-script faces below.
;; (byte-recompile-directory "~/VCS/org-mode/lisp/" nil t) ;; do not uncomment.
(require 'cl-lib) (require 'cl-lib)
@ -344,7 +343,7 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
(let-alist . "nongnu") (let-alist . "nongnu")
(map . "nongnu") (map . "nongnu")
(ntlm . "nongnu") (ntlm . "nongnu")
(org . "gnu-devel") ; Upgrade! (org . "nongnu") ; Use builtin or git!
(python . "nongnu") (python . "nongnu")
(project . "nongnu") (project . "nongnu")
(seq . "nongnu") (seq . "nongnu")
@ -661,6 +660,8 @@ verse and quote blocks are fontified using the `org-verse' and
(t (t
(:weight bold))) (:weight bold)))
"My face to show a here-document.")) "My face to show a here-document."))
(require 'org)
#+end_src #+end_src
* [[info:emacs#Windows][Window management (info)]] * [[info:emacs#Windows][Window management (info)]]
@ -1073,7 +1074,10 @@ looks for files.
(add-to-list 'Info-directory-list path nil #'file-equal-p))) (add-to-list 'Info-directory-list path nil #'file-equal-p)))
;; Make Emacs find my "python.info" file. ;; Make Emacs find my "python.info" file.
(add-to-list 'Info-directory-list (add-to-list 'Info-directory-list
(expand-file-name "~/.local/share/info"))) (expand-file-name "~/.local/share/info"))
;; Make Emacs find the git Org info files.
(add-to-list 'Info-directory-list
(expand-file-name "~/VCS/org-mode/doc")))
#+end_src #+end_src
* [[info:emacs#Key Bindings][Key bindings (info)]] * [[info:emacs#Key Bindings][Key bindings (info)]]