Display warning if a non-existent module is in your doom! block

This commit is contained in:
Henrik Lissner 2018-05-29 18:26:39 +02:00
parent 11c7a5c1f4
commit bd5ecc1aca
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -477,8 +477,7 @@ added, if the file exists."
(flags (if (listp m) (cdr m))))
(if-let* ((path (doom-module-locate-path category module)))
(doom-module-set category module :flags flags :path path)
(when doom-debug-mode
(message "Couldn't find the %s %s module" category module))))))))
(warn "Couldn't find the %s %s module" category module)))))))
doom-modules))