X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=emacs%2Fnotmuch-show.el;h=12e5d28286bedda099f52d95b9097460ccda09db;hb=44982ab33295009137e3740e644e793a08629762;hp=916b39e390e59af47cee1a838cadbed1463401ee;hpb=14fb9f3c5531f45c9b5bf2e710f033288bcda5c8;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.