]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: notmuch-search-stash-thread-id: use notmuch-search-query-string
[notmuch] / emacs / notmuch.el
index 027c5cfad7c404fe1a5ef783fd224ff5c338f561..481a0e0a55ca6532a7965aed0b501bba9ec68a6e 100644 (file)
@@ -230,7 +230,7 @@ there will be called at other points of notmuch execution."
 (defun notmuch-stash-query ()
   "Copy current query to kill-ring."
   (interactive)
-  (notmuch-common-do-stash (notmuch-search-get-query)))
+  (notmuch-common-do-stash notmuch-search-query-string))
 
 ;;; Movement