diff options
author | jao <jao@gnu.org> | 2021-01-20 00:24:15 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-01-20 00:24:15 +0000 |
commit | 14454fabd53db8a4b68218ea8bbe68c849e0bd0e (patch) | |
tree | b72aab5b14e396566e93136cd73d27a01b92c3c8 /eos | |
parent | ec4f6c598cdd8c0dadd9abd7f22bc057a2216628 (diff) | |
download | elibs-14454fabd53db8a4b68218ea8bbe68c849e0bd0e.tar.gz elibs-14454fabd53db8a4b68218ea8bbe68c849e0bd0e.tar.bz2 |
nits
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) |