Prefix non-existent module message with Warning:

Because it's a warning, not an error, and life goes on.
This commit is contained in:
Henrik Lissner 2018-06-24 19:45:24 +02:00
parent 6fcc1203cc
commit d874f628bb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -278,7 +278,7 @@ to least)."
(throw 'doom-modules t))))
(let ((path (doom-module-locate-path category module)))
(if (not path)
(message "Couldn't find the %s %s module" category module)
(message "Warning: couldn't find the %s %s module" category module)
(let ((key (cons category module)))
(doom-module-set category module :flags flags :path path)
(push `(let ((doom--current-module ',key))