diff options
Diffstat (limited to 'eos')
-rw-r--r-- | eos/jao-minibuffer.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eos/jao-minibuffer.el b/eos/jao-minibuffer.el index 09c94bd..5f703bd 100644 --- a/eos/jao-minibuffer.el +++ b/eos/jao-minibuffer.el @@ -74,7 +74,8 @@ (if (> w 0) (jao-minibuffer--trim msg w) ""))))) (defun jao-minibuffer--set-message (msg) - (let ((msg (string-trim (replace-regexp-in-string "\n" " " msg)))) + (let* ((msg (string-trim (replace-regexp-in-string "\n" " " msg))) + (msg (if (string-blank-p msg) msg (concat msg " ")))) (if jao-minibuffer-align-right-p (concat msg (jao-minibuffer--aligned (length msg) t)) (concat (jao-minibuffer--aligned (+ 3 (length msg)) t) " " msg)))) @@ -127,6 +128,7 @@ (setq set-message-function #'jao-minibuffer--set-message) (setq clear-message-function #'jao-minibuffer-refresh) + ;; (setq resize-mini-windows nil) (provide 'jao-minibuffer) |