mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: change doom-module-list signature
Used to return the hash-table `doom-modules` (if not all-p), but I've changed it to return a list of cons cells (:CATEGORY . MODULE), representing all enabled modules, in the order they were enabled. The purpose of this change is to prepare for a change in the structure of doom-modules, and how Doom stores its module metadata.
This commit is contained in:
2
bin/doom
2
bin/doom
@ -294,7 +294,7 @@ SEE ALSO:
|
||||
|
||||
(let ((cli-file "cli"))
|
||||
(defcli-group! "Module commands"
|
||||
(dolist (key (hash-table-keys doom-modules))
|
||||
(dolist (key (doom-module-list))
|
||||
(when-let (path (doom-module-expand-path (car key) (cdr key) cli-file))
|
||||
(defcli-group! :prefix (format "+%s" (cdr key))
|
||||
(doom-load path t)))))
|
||||
|
Reference in New Issue
Block a user