Fixed this bug up

This commit is contained in:
Benson Chu 2022-12-06 00:47:24 -06:00
parent 8042beb9b2
commit 254576c2f9

View file

@ -51,7 +51,7 @@
(defun notmuch-get-unread-string ()
(let ((count
(setq notmuch-unread-inbox-count
(notmuch-count-query "tag:inbox AND tag:unread")))
(notmuch-count-query "tag:inbox and thread:{tag:unread}")))
(all (notmuch-count-query "tag:inbox")))
(format " %s [%d/%d] "
(if (zerop count) "" "")