]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
Reintroduce patch to quote args in notmuch-show to facilitate remote use
[notmuch] / emacs / notmuch-show.el
index 916b39e390e59af47cee1a838cadbed1463401ee..12e5d28286bedda099f52d95b9097460ccda09db 100644 (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.