diff options
author | jao <jao@gnu.org> | 2024-04-26 03:18:03 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2024-04-26 03:18:03 +0100 |
commit | 7595d2af7efad2e83c2fe9b2d48727f59ff7402e (patch) | |
tree | 25de1d2bedbde6d18da73034358ac2a0ebb737e8 | |
parent | 8b86e745f22612e0f9e9c57f84a691c58cd55662 (diff) | |
download | elibs-7595d2af7efad2e83c2fe9b2d48727f59ff7402e.tar.gz elibs-7595d2af7efad2e83c2fe9b2d48727f59ff7402e.tar.bz2 |
jao-minibuffer: no right hand if cursor-in-echo-area
-rw-r--r-- | lib/eos/jao-minibuffer.el | 4 |
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)) |