summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-03-24 04:44:36 +0000
committerjao <jao@gnu.org>2022-03-24 04:44:36 +0000
commitf2ec2fb24bf8f76f9ea63f486461c39b3cf0e661 (patch)
tree589798a4f762b3d37bda55d2b369e0457b9ce74c /lib
parentfdad24d58f19321bd031a3c21adf8f727e6de051 (diff)
downloadelibs-f2ec2fb24bf8f76f9ea63f486461c39b3cf0e661.tar.gz
elibs-f2ec2fb24bf8f76f9ea63f486461c39b3cf0e661.tar.bz2
minibuffer: fix
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-minibuffer.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 54e1794..bdafa74 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -129,7 +129,8 @@
(interactive)
(when jao-minibuffer-mode
(let ((jao-minibuffer-mode nil)
- (msg (jao-minibuffer--format-info jao-minibuffer-msg-info)))
+ (msg (when jao-minibuffer-msg-info
+ (jao-minibuffer--format-info jao-minibuffer-msg-info))))
(jao-minibuffer--insert (jao-minibuffer--format-msg (or msg ""))))))
(provide 'jao-minibuffer)