diff --git a/lisp/notmuch-config/notmuch-mode-line.el b/lisp/notmuch-config/notmuch-mode-line.el index ea3778f..01d42f7 100644 --- a/lisp/notmuch-config/notmuch-mode-line.el +++ b/lisp/notmuch-config/notmuch-mode-line.el @@ -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) "" "")