From: Jesse Rosenthal Date: Wed, 21 Apr 2010 21:22:08 +0000 (-0400) Subject: Reintroduce patch to quote args in notmuch-show to facilitate remote use X-Git-Tag: 0.3~97 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/commitdiff_plain/44982ab33295009137e3740e644e793a08629762?ds=sidebyside 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. --- diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 916b39e3..12e5d282 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.