From: Jonas Bernoulli Date: Sun, 10 Jan 2021 14:01:04 +0000 (+0100) Subject: emacs: notmuch-search-stash-thread-id: use notmuch-search-query-string X-Git-Tag: 0.32_rc0~135 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=c6ac1121d4af9ff1187ae2f5a361fb74ef9c281b 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 --- 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