add support for deleting messages in notmuch-show

This commit is contained in:
Max Nickel 2019-10-23 22:58:06 -04:00
parent 80f56f4a40
commit 07d219a300

View file

@ -56,6 +56,13 @@
(notmuch-tree-add-tag (list "+trash" "-inbox" "-unread"))
(notmuch-tree-next-message))
;;;###autoload
(defun +notmuch/show-delete ()
"Mark email for deletion in notmuch-show"
(interactive)
(notmuch-show-add-tag (list "+trash" "-inbox" "-unread"))
(notmuch-show-next-thread-show))
;;;###autoload
(defun +notmuch/search-spam ()
(interactive)