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
(defun notmuch-stash-query ()
"Copy current query to kill-ring."
(interactive)
(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))