]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
Merge tag '0.25.1'
[notmuch] / emacs / notmuch-show.el
index dd423765d7139cc2004c5a3b03c6989cdca57ff1..9939027700952c0f5255700cc9be5a274ae4f99b 100644 (file)
@@ -1269,7 +1269,9 @@ matched."
     ;; aren't wiped out.
     (setq notmuch-show-thread-id thread-id
          notmuch-show-parent-buffer parent-buffer
     ;; aren't wiped out.
     (setq notmuch-show-thread-id thread-id
          notmuch-show-parent-buffer parent-buffer
-         notmuch-show-query-context query-context
+         notmuch-show-query-context (if (or (string= query-context "")
+                                            (string= query-context "*"))
+                                        nil query-context)
 
          notmuch-show-process-crypto notmuch-crypto-process-mime
          ;; If `elide-toggle', invert the default value.
 
          notmuch-show-process-crypto notmuch-crypto-process-mime
          ;; If `elide-toggle', invert the default value.