diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eos/jao-minibuffer.el | 7 | ||||
-rw-r--r-- | lib/net/jao-notmuch.el | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index 1d60ed2..3614455 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -95,9 +95,10 @@ " " msg)))) (defun jao-minibuffer--set-message (msg) - (if (and msg - (not (string-blank-p msg)) - (bound-and-true-p current-minibuffer-command)) + (if (or (not jao-minibuffer-enabled-p) + (and msg + (not (string-blank-p msg)) + (bound-and-true-p current-minibuffer-command))) msg (jao-minibuffer--format-msg msg))) diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el index 905dcd9..2a785b1 100644 --- a/lib/net/jao-notmuch.el +++ b/lib/net/jao-notmuch.el @@ -213,7 +213,7 @@ (defun jao-notmuch--tree-update-buffer-name (&optional n) (when-let ((n (or n (jao-notmuch--unread-count)))) - (rename-buffer (format "{%s - %s}" (jao-notmuch--query-name) n)) + (rename-buffer (format "%s - %s" (jao-notmuch--query-name) n)) (jao-minibuffer-refresh))) (defun jao-notmuch--tree-sentinel (proc &rest _) |