summaryrefslogtreecommitdiff
path: root/.emacs.d/notmuch-config.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-05-28 08:39:48 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-05-28 08:39:48 -0700
commit694cc7f4f61ed003f9f496ac76f7331974920418 (patch)
treec02181811f3fe43b393c573436085bdb82bd0b5f /.emacs.d/notmuch-config.el
parent638e4cf59e8051d9b58f9bb0d3f2d0e4917334c7 (diff)
downloaddotfiles-694cc7f4f61ed003f9f496ac76f7331974920418.tar.gz
tweak spw--kill-thread
Diffstat (limited to '.emacs.d/notmuch-config.el')
-rw-r--r--.emacs.d/notmuch-config.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/notmuch-config.el b/.emacs.d/notmuch-config.el
index 6a7af415..f0eea974 100644
--- a/.emacs.d/notmuch-config.el
+++ b/.emacs.d/notmuch-config.el
@@ -120,7 +120,10 @@ Two ways to read:
(notmuch-tree-mode
(notmuch-tree-close-message-window)
(notmuch-tree-tag '("+spw::killed"))
- (notmuch-tree-archive-thread)))
+ (notmuch-tree-archive-thread)
+ (unless (notmuch-tree-get-match)
+ (notmuch-tree-next-matching-message))
+ (notmuch-tree-show-message nil)))
(message "thread killed"))
(defun spw--spam-message ()