mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
lang/org: add elpa org to load-path in init.el #327
Let's try to change the load-path sooner...
This commit is contained in:
9
modules/lang/org/init.el
Normal file
9
modules/lang/org/init.el
Normal file
@@ -0,0 +1,9 @@
|
||||
;;; lang/org/init.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; Ensure ELPA org is prioritized above built-in org.
|
||||
(eval-and-compile
|
||||
(when-let* ((path (locate-library "org" nil doom--base-load-path)))
|
||||
(setq load-path
|
||||
(delete (substring (file-name-directory path) 0 -1)
|
||||
load-path))))
|
||||
|
Reference in New Issue
Block a user