Add @featurep
This commit is contained in:
parent
f84db1f102
commit
a8a00b9fa0
1 changed files with 4 additions and 0 deletions
|
@ -280,6 +280,10 @@ it hasn't already, and if it exists."
|
|||
(doom--enable-module module submodule t))
|
||||
`(@load config ,(doom-module-path module submodule) t)))))
|
||||
|
||||
(defmacro @featurep (module submodule)
|
||||
"Convenience macro that wraps `doom-module-loaded-p'."
|
||||
`(doom-module-loaded-p ,module ',submodule))
|
||||
|
||||
|
||||
;;
|
||||
;; Declarative macros
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue