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.
This commit is contained in:
Jesse Rosenthal 2010-04-21 17:22:08 -04:00 committed by Carl Worth
parent 14fb9f3c55
commit 44982ab332

View file

@ -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.