summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2010-04-21 17:22:08 -0400
committerCarl Worth <cworth@cworth.org>2010-04-23 11:59:47 -0700
commit44982ab33295009137e3740e644e793a08629762 (patch)
tree5fdc8dfaae159efa668704e775bfbc86bb34f372
parent14fb9f3c5531f45c9b5bf2e710f033288bcda5c8 (diff)
Reintroduce patch to quote args in notmuch-show to facilitate remote use
This reintroduces the patch committed in 9193455fa1, which was reverted during the upgrade to the JSON emacs UI.
-rw-r--r--emacs/notmuch-show.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 916b39e..12e5d28 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -470,8 +470,8 @@ function is used. "
(save-excursion
(let* ((basic-args (list thread-id))
(args (if query-context
- (append basic-args (list "and (" query-context ")"))
- basic-args)))
+ (append (list "\"") basic-args (list "and (" query-context ")\""))
+ (append (list "\"") basic-args (list "\"")))))
(notmuch-show-insert-forest (notmuch-query-get-threads args))
;; If the query context reduced the results to nothing, run
;; the basic query.