summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-07-29 21:05:28 +0100
committerjao <jao@gnu.org>2021-07-29 21:36:29 +0100
commit1678be4f58d23b5c7129c15558782c92dd0fdff0 (patch)
tree54648b51779bc95bcb78a54996747d406f652eec /lib/eos
parent16ec62e787f7992d2a331576d867a57498cba5a3 (diff)
downloadelibs-1678be4f58d23b5c7129c15558782c92dd0fdff0.tar.gz
elibs-1678be4f58d23b5c7129c15558782c92dd0fdff0.tar.bz2
nits
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-minibuffer.el7
1 files changed, 4 insertions, 3 deletions
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)))