mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
emacs: use --exclude=false when checking for empty searches
In particular tags that only occur on otherwise excluded messages do not show up in "All tags" without this change. The reported numbers _do_ take excludes into account, so it is possible that searches (e.g. the aformentioned tags) will show up with a count of zero.
This commit is contained in:
parent
704aa76f5d
commit
8370e3cfe2
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ options will be handled as specified for
|
|||
(plist-get options :filter))))
|
||||
"\n")))
|
||||
(unless (= (notmuch--call-process-region (point-min) (point-max) notmuch-command
|
||||
t t nil "count" "--batch") 0)
|
||||
t t nil "count" "--exclude=false" "--batch") 0)
|
||||
(notmuch-logged-error
|
||||
"notmuch count --batch failed"
|
||||
"Please check that the notmuch CLI is new enough to support `count
|
||||
|
|
Loading…
Reference in a new issue