mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
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:
2
.doomrc
2
.doomrc
@@ -19,7 +19,7 @@
|
||||
|
||||
(after! doom-cli-make
|
||||
;;; Codeowners
|
||||
(dolist (path (cdr (doom-module-load-path (list doom-modules-dir))))
|
||||
(dolist (path (doom-module-load-path (list doom-modules-dir)))
|
||||
;; I will be the default owner for everything in the repo unless a later
|
||||
;; match takes precedence.
|
||||
(add-to-list 'doom-make-codeowners "# The default owner(s) unless another takes precedence")
|
||||
|
Reference in New Issue
Block a user