Ensure ELPA org is loaded instead of site org
This commit is contained in:
parent
93ae5e5f51
commit
e4f4818c74
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
;; Ensure ELPA org is prioritized above built-in org.
|
;; Ensure ELPA org is prioritized above built-in org.
|
||||||
(when-let (path (locate-library "org" nil doom--package-load-path))
|
(when-let (path (locate-library "org" nil doom--package-load-path))
|
||||||
(cl-pushnew (file-name-directory path) load-path :test #'equal))
|
(setq load-path (delete path load-path))
|
||||||
|
(push (file-name-directory path) load-path))
|
||||||
|
|
||||||
;; Custom variables
|
;; Custom variables
|
||||||
(defvar +org-dir (expand-file-name "~/work/org/")
|
(defvar +org-dir (expand-file-name "~/work/org/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue