about summary refs log tree commit diff
path: root/init/mail-setup.el
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-06-06T08·29+0200
committerVincent Ambo <mail@tazj.in>2018-06-06T08·29+0200
commitead3a701147a013394c0e08fb30cc248aead0de6 (patch)
tree526b03cf6fe6566de0af7659ec18bcd3c09c1b64 /init/mail-setup.el
parent4f64ab29423e81748cf179e6dab4fc049bb7a803 (diff)
fix(mail): Only show unread messages in inbox count
Diffstat (limited to 'init/mail-setup.el')
-rw-r--r--init/mail-setup.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/mail-setup.el b/init/mail-setup.el
index ecc6aa4648e9..c98d54d46d0e 100644
--- a/init/mail-setup.el
+++ b/init/mail-setup.el
@@ -17,7 +17,7 @@
 
 ;; Show me saved searches that I care about:
 (setq notmuch-saved-searches
-      '((:name "inbox" :query "tag:inbox" :key "i")
+      '((:name "inbox" :query "tag:inbox" :count-query "tag:inbox AND tag:unread" :key "i")
         (:name "gitlab" :query "tag:gitlab" :key "g")
         (:name "sent" :query "tag:sent" :key "t")
         (:name "drafts" :query "tag:draft" :key "d")))