refactor: resolve doom-core-dir relative to source file
Instead of relative to doom-emacs-dir, which may or may not be where this core lives (made more of a possibility once core has a repo to itself).
This commit is contained in:
parent
58992a1885
commit
2d53fe6123
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@
|
|||
(defconst doom-emacs-dir user-emacs-directory
|
||||
"The path to the currently loaded .emacs.d directory. Must end with a slash.")
|
||||
|
||||
(defconst doom-core-dir (expand-file-name "lisp/" doom-emacs-dir)
|
||||
(defconst doom-core-dir (file-name-directory load-file-name)
|
||||
"The root directory of Doom's core files. Must end with a slash.")
|
||||
|
||||
(defconst doom-modules-dir (expand-file-name "modules/" doom-emacs-dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue