From bd5ecc1aca073f6eb19e6236191c26dab6b6906d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 29 May 2018 18:26:39 +0200 Subject: [PATCH] Display warning if a non-existent module is in your doom! block --- core/core-packages.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core-packages.el b/core/core-packages.el index 347a1eb97..ef11a87b6 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -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))