summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/eos/jao-minibuffer.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 93a1948..77bd49a 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -104,8 +104,8 @@
msg))
(left (if jao-minibuffer-align-right info (or msg "")))
(right (if jao-minibuffer-align-right (or msg "") info))
- (msg (if info (format "%s%s%s" left sep right) msg)))
- (jao-minibuffer--format-msg (or msg ""))))))
+ (msg (or (if info (format "%s%s%s" left sep right) msg) "")))
+ (if cursor-in-echo-area msg (jao-minibuffer--format-msg msg))))))
(defun jao-minibuffer--clear-message ()
(let ((jao-minibuffer-inhibit nil))