aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2025-06-15 17:12:35 -0300
committerDavid Bremner <david@tethera.net>2026-01-15 07:56:22 +0900
commit97a2bad36a35399681f6c5f5a2b4390e6429d5ae (patch)
tree3cbfb6e4626476e9f6e9cdd1cdf5c0997b7ea7dc /emacs
parentf66b672128262025afa474e4a86f62ca066d4862 (diff)
emacs/hello: fix one case of passing hide-excluded
In the search box (and recent searches), notmuch-search-hide-excluded was not being passed to notmuch-search. This means that excluded messages were always shown in the results. Fix this by passing the extra argument.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-hello.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 67c805a8..eb5d618a 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -438,7 +438,7 @@ supported for \"Customized queries section\" items."
(setq search (string-trim search))
(let ((history-delete-duplicates t))
(add-to-history 'notmuch-search-history search)))
- (notmuch-search search notmuch-search-oldest-first)))
+ (notmuch-search search notmuch-search-oldest-first notmuch-search-hide-excluded)))
(defun notmuch-hello-add-saved-search (widget &rest _event)
(let ((search (widget-value (widget-get widget :parent)))