refactor: resolve doom-{core,modules}-dir properly
Future proofing for changes in doom-emacs-dir.
This commit is contained in:
parent
7d93feb98c
commit
7a9f8b18ab
1 changed files with 2 additions and 2 deletions
|
@ -122,10 +122,10 @@
|
|||
(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 (concat doom-emacs-dir "core/")
|
||||
(defconst doom-core-dir (expand-file-name "core/" doom-emacs-dir)
|
||||
"The root directory of Doom's core files. Must end with a slash.")
|
||||
|
||||
(defconst doom-modules-dir (concat doom-emacs-dir "modules/")
|
||||
(defconst doom-modules-dir (expand-file-name "modules/" doom-emacs-dir)
|
||||
"The root directory for Doom's modules. Must end with a slash.")
|
||||
|
||||
(defconst doom-docs-dir (concat doom-emacs-dir "docs/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue