From cf5a398e0d39f1b43fe185b29dd89631dad75459 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 5 Mar 2019 00:19:51 -0500 Subject: [PATCH] doom-log: include doom-debug-mode test in result Relevant to #1215 --- core/core-lib.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 76380808c..19525390f 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -106,8 +106,8 @@ This is used by `associate!', `file-exists-p!' and `project-file-exists-p!'." "Log to *Messages* if `doom-debug-mode' is on. Does not interrupt the minibuffer if it is in use, but still logs to *Messages*. Accepts the same arguments as `message'." - (when doom-debug-mode - `(let ((inhibit-message (active-minibuffer-window))) + `(when doom-debug-mode + (let ((inhibit-message (active-minibuffer-window))) (message ,(concat (propertize "DOOM " 'face 'font-lock-comment-face) format-string