mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
emacs/tree: add notmuch-tree-archive-thread-then-exit
This is the notmuch-tree version of notmuch-show-archive-thread-then-exit Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
1abe5a0c5b
commit
86f3cc265a
1 changed files with 6 additions and 0 deletions
|
@ -617,6 +617,12 @@ message will be \"unarchived\", i.e. the tag changes in
|
|||
(notmuch-tree-archive-message unarchive)
|
||||
(notmuch-tree-next-matching-message))
|
||||
|
||||
(defun notmuch-tree-archive-thread-then-exit ()
|
||||
"Archive all messages in the current buffer, then exit notmuch-tree."
|
||||
(interactive)
|
||||
(notmuch-tree-archive-thread)
|
||||
(notmuch-tree-quit t))
|
||||
|
||||
(defun notmuch-tree-archive-message-then-next-or-exit ()
|
||||
"Archive current message, then show next open message in current thread.
|
||||
|
||||
|
|
Loading…
Reference in a new issue