X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=81276d90f32eb2104939afd73c8f6bd5b1ed991c;hp=6f5a55d470756e8a3eb42f92bca663a6aad1c258;hb=9193455fa1476ea3957475e77379b75efa6dd90b;hpb=8fede713376ca5f18eece52aa491b5ec93f4af90;ds=sidebyside diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 6f5a55d4..81276d90 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1006,8 +1006,10 @@ used." (erase-buffer) (goto-char (point-min)) (save-excursion - (let* ((basic-args (list notmuch-command nil t nil "show" "--entire-thread" thread-id)) - (args (if query-context (append basic-args (list "and (" query-context ")")) basic-args))) + (let* ((basic-args (list notmuch-command nil t nil "show" "--entire-thread" "\'" thread-id)) + (args (if query-context + (append basic-args (list "and (" query-context ")\'")) + (append basic-args (list "\'"))))) (apply 'call-process args) (when (and (eq (buffer-size) 0) query-context) (apply 'call-process basic-args)))