From 1678be4f58d23b5c7129c15558782c92dd0fdff0 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 29 Jul 2021 21:05:28 +0100 Subject: nits --- lib/eos/jao-minibuffer.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/eos') diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index 1d60ed2..3614455 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -95,9 +95,10 @@ " " msg)))) (defun jao-minibuffer--set-message (msg) - (if (and msg - (not (string-blank-p msg)) - (bound-and-true-p current-minibuffer-command)) + (if (or (not jao-minibuffer-enabled-p) + (and msg + (not (string-blank-p msg)) + (bound-and-true-p current-minibuffer-command))) msg (jao-minibuffer--format-msg msg))) -- cgit v1.2.3