diff options
author | jao <jao@gnu.org> | 2021-07-29 21:05:28 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-07-29 21:36:29 +0100 |
commit | 1678be4f58d23b5c7129c15558782c92dd0fdff0 (patch) | |
tree | 54648b51779bc95bcb78a54996747d406f652eec /lib | |
parent | 16ec62e787f7992d2a331576d867a57498cba5a3 (diff) | |
download | elibs-1678be4f58d23b5c7129c15558782c92dd0fdff0.tar.gz elibs-1678be4f58d23b5c7129c15558782c92dd0fdff0.tar.bz2 |
nits
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 _) |