aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2012-04-07 17:10:08 +0100
committerGravatar David Bremner <bremner@debian.org>2012-04-07 23:06:31 -0300
commit075d7df01ea736bfc6071a002c356a6f3119079d (patch)
tree3d101e40354189b6e9f959a17630ab8755fb5b0b /emacs
parent6478e1bc92d60bfd85ef8259a14754e2babe150b (diff)
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.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-show.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 6d3fe62a..30b26d1f 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -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)