diff options
-rw-r--r-- | notmuch.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/notmuch.org b/notmuch.org index 2f617b6..e0f92a7 100644 --- a/notmuch.org +++ b/notmuch.org @@ -100,6 +100,13 @@ ,(jao-notmuch--q "new" nil "n" '("tag:new")) ,(jao-notmuch--q "draft" nil "d" '("tag:draft")))) + (defun jao-notmuch-tree-widen-search () + (interactive) + (when-let ((query (notmuch-tree-get-query))) + (let ((notmuch-show-process-crypto (notmuch-tree--message-process-crypto))) + (notmuch-tree-close-message-window) + (notmuch-tree (string-replace jao-notmuch--newa "" query))))) + (defun jao-notmuch-widen-searches (searches) (mapcar (lambda (s) (let ((q (plist-get s :query))) |