mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 10:54:52 +01:00
emacs: make show set --exclude=false
Show has to set --exclude=false to deal with cases where it is asked to show a single excluded message. It uses JSON so it can easily pass the exclude information to the user.
This commit is contained in:
parent
6478e1bc92
commit
075d7df01e
1 changed files with 4 additions and 2 deletions
|
@ -1060,13 +1060,15 @@ function is used."
|
|||
(append (list "\'") basic-args
|
||||
(list "and (" notmuch-show-query-context ")\'"))
|
||||
(append (list "\'") basic-args (list "\'")))))
|
||||
(notmuch-show-insert-forest (notmuch-query-get-threads args))
|
||||
(notmuch-show-insert-forest (notmuch-query-get-threads
|
||||
(cons "--exclude=false" args)))
|
||||
;; If the query context reduced the results to nothing, run
|
||||
;; the basic query.
|
||||
(when (and (eq (buffer-size) 0)
|
||||
notmuch-show-query-context)
|
||||
(notmuch-show-insert-forest
|
||||
(notmuch-query-get-threads basic-args))))
|
||||
(notmuch-query-get-threads
|
||||
(cons "--exclude=false" basic-args)))))
|
||||
|
||||
(jit-lock-register #'notmuch-show-buttonise-links)
|
||||
|
||||
|
|
Loading…
Reference in a new issue