Detach doom-modules-dirs from doom! macro
Formerly, you were required to have a doom! call (even a blank one) in ~/.doom.d/init.el if you wanted to have private sub-modules in ~/.doom.d/modules/. No more. It is no longer doom!'s responsibility to affect `doom-modules-dirs`. This is now done by :config private, while the Doom modules directory is now the initial entry in doom-modules-dirs.
This commit is contained in:
parent
c6931db3f8
commit
23fda88b2f
3 changed files with 21 additions and 23 deletions
|
@ -34,7 +34,7 @@ line or use --debug-init to enable this.")
|
|||
(defvar doom-modules-dir (concat doom-emacs-dir "modules/")
|
||||
"The main directory where Doom modules are stored.")
|
||||
|
||||
(defvar doom-modules-dirs nil
|
||||
(defvar doom-modules-dirs (list doom-modules-dir)
|
||||
"A list of module root directories. Order determines priority.")
|
||||
|
||||
(defvar doom-local-dir (concat doom-emacs-dir ".local/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue