mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove doom-module-pairs
This commit is contained in:
@ -77,7 +77,7 @@ in."
|
||||
nil t module))))
|
||||
(cl-destructuring-bind (category submodule)
|
||||
(mapcar #'intern (split-string module " "))
|
||||
(unless (member (cons category submodule) (doom-module-pairs))
|
||||
(unless (doom-module-enabled-p category submodule)
|
||||
(error "'%s' isn't a valid module" module))
|
||||
(let ((doc-path (expand-file-name "README.org" (doom-module-path category submodule))))
|
||||
(unless (file-exists-p doc-path)
|
||||
|
Reference in New Issue
Block a user