From 7a9f8b18ab6034ec4f0b1c6c35a8dc39b118d3c4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 29 Jul 2022 12:23:42 +0200 Subject: [PATCH] refactor: resolve doom-{core,modules}-dir properly Future proofing for changes in doom-emacs-dir. --- core/core.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.el b/core/core.el index aa033e723..41521e817 100644 --- a/core/core.el +++ b/core/core.el @@ -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/")