refactor: rename :core module group to :doom

I'll soon introduce a new family of core modules which will house most
of what's currently in the doom-*.el libs, moving them out of core.
This commit is contained in:
Henrik Lissner
2024-10-25 20:38:23 -04:00
parent c23b6fa5db
commit 25201a40f3
5 changed files with 9 additions and 9 deletions

View File

@ -365,7 +365,7 @@ without needing to check if they are available."
(format "%s %s" (nth 1 sexp) (nth 2 sexp)))))))
((when buffer-file-name
(when-let (mod (doom-module-from-path buffer-file-name))
(unless (memq (car mod) '(:core :user))
(unless (memq (car mod) '(:doom :user))
(format "%s %s" (car mod) (cdr mod))))))
((when-let (mod (cdr (assq major-mode doom--help-major-mode-module-alist)))
(format "%s %s"
@ -627,7 +627,7 @@ If prefix arg is present, refresh the cache."
(insert "Declared by the following Doom modules:\n")
(dolist (m modules)
(let* ((module-path (pcase (car m)
(:core doom-core-dir)
(:doom doom-core-dir)
(:user doom-user-dir)
(category
(doom-module-locate-path (cons category (cdr m))))))