]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-hello.el
emacs: use --exclude=false when counting total messages
[notmuch] / emacs / notmuch-hello.el
index 50b6f30330ba393ec9bb4de38b20fe58d9acad31..9ac52c11bcc5ac716e7fab6feb67517c152f5eb8 100644 (file)
@@ -785,7 +785,7 @@ Complete list of currently available key bindings:
                   :help-echo "Refresh"
                   (notmuch-hello-nice-number
                    (string-to-number
                   :help-echo "Refresh"
                   (notmuch-hello-nice-number
                    (string-to-number
-                    (car (notmuch--process-lines notmuch-command "count")))))
+                    (car (notmuch--process-lines notmuch-command "count" "--exclude=false")))))
     (widget-insert " messages.\n")))
 
 (defun notmuch-hello-insert-saved-searches ()
     (widget-insert " messages.\n")))
 
 (defun notmuch-hello-insert-saved-searches ()