refactor: register :core & :user as virtual modules
...that are always enabled. This way, the module API treats them as any other module. This also changes doom-module-load-path. If supplied directories, doom-user-dir will not be the CAR of its return value. If no dirs are supplied, then doom-core-dir and doom-user-dir are included (and will always be the first two items in the returned list).
This commit is contained in:
parent
10eb5db12d
commit
3a0f1aa3ef
5 changed files with 27 additions and 27 deletions
|
@ -41,7 +41,7 @@ and your private config files, respectively. To recompile your packages, use
|
|||
;; Only compile Doom's modules
|
||||
(doom-rpartial #'file-in-directory-p doom-emacs-dir)
|
||||
;; Omit `doom-user-dir', which is always first
|
||||
(cdr (doom-module-load-path)))))
|
||||
(doom-module-load-path))))
|
||||
recompile-p
|
||||
verbose-p))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue