summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-03-17 23:17:59 +0000
committerjao <jao@gnu.org>2021-03-17 23:17:59 +0000
commit5c04d4c7e927900cb4ffc884190bbb3c5b5442ce (patch)
treefb8755d15cfa8d46f6c550790a68df8dcf7aaffd /lib/eos
parent36f53c1a96ae62bf411ad800775f9edbc67e7845 (diff)
downloadelibs-5c04d4c7e927900cb4ffc884190bbb3c5b5442ce.tar.gz
elibs-5c04d4c7e927900cb4ffc884190bbb3c5b5442ce.tar.bz2
compat for jao-minibuffer
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-minibuffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 777980e..263f917 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -74,7 +74,7 @@
(if (> w 0) (jao-minibuffer--trim msg w) "")))))
(defun jao-minibuffer--set-message (msg)
- (if current-minibuffer-command
+ (if (bound-and-true-p current-minibuffer-command)
msg
(let* ((msg (string-trim (replace-regexp-in-string "\n" " " msg)))
(msg (if (string-blank-p msg) msg (concat msg " "))))