aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-01-10 15:01:04 +0100
committerDavid Bremner <david@tethera.net>2021-01-15 06:45:09 -0400
commitc6ac1121d4af9ff1187ae2f5a361fb74ef9c281b (patch)
treedba3dccb1687f8b8ecd0070469019021cd71ad5f /emacs/notmuch.el
parent42d32713be9a23346de09b84983e1dd3b44b3400 (diff)
emacs: notmuch-search-stash-thread-id: use notmuch-search-query-string
No longer use the function `notmuch-search-get-query', which does nothing but return the value of that variable. That function was added in [1: f47eeac0] for use in `notmuch-read-query' along-side related `notmuch-show-get-query' and `notmuch-tree-get-query' but using it here makes little sense. 1: f47eeac0b0186c3559eb559c4f0bee0e1fac1961 emacs: set default in notmuch-read-query
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 027c5cfa..481a0e0a 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -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