Remove built-in org from load-path at install time
Makes it less likely that packages will load the original org before the new one has been installed.
This commit is contained in:
parent
5454ca4c75
commit
3c8e868b1b
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/org/packages.el
|
||||
|
||||
;; Prevent built-in Org from playing into the byte-compilation of
|
||||
;; `org-plus-contrib'.
|
||||
(when-let (orglib (locate-library "org" nil doom--initial-load-path))
|
||||
(setq load-path (delete (substring (file-name-directory orglib) 0 -1)
|
||||
load-path)))
|
||||
|
||||
(package! org-plus-contrib) ; install cutting-edge version of org-mode
|
||||
(package! org-bullets :recipe (:host github :repo "Kaligule/org-bullets"))
|
||||
(package! toc-org)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue