summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)