X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=12e5d28286bedda099f52d95b9097460ccda09db;hb=b65bcb5f8f14863f810cf41b9d8c14afacc76ae5;hp=916b39e390e59af47cee1a838cadbed1463401ee;hpb=6157fe0bfdf822a15e9bfa8fa363eba70419a022;p=notmuch 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.