summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-notmuch.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-notmuch.el')
-rw-r--r--custom/jao-custom-notmuch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index 77b0b8f..bbae862 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -38,7 +38,8 @@
(interactive)
(let* ((cnts (notmuch-hello-query-counts jao-notmuch-minibuffer-queries))
(mc (jao-d-l
- (when jao-notmuch-mac-mail-badge (jao-mac-app-badge "Mail"))
+ (when jao-notmuch-mac-mail-badge
+ (jao-mac-app-badge jao-notmuch-mac-mail-badge))
0))
(cnts (if (> (or mc 0) 0) (cons `(:name "" :count ,mc) cnts) cnts)))
(setq jao-notmuch-minibuffer-string