summaryrefslogtreecommitdiffhomepage
path: root/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/jao-notmuch.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el
index 4714367..ebb348a 100644
--- a/lib/net/jao-notmuch.el
+++ b/lib/net/jao-notmuch.el
@@ -411,6 +411,11 @@
'("-unread" "-new" "+spam"))))
(jao-notmuch-tree--tag-and-next tags nil nil)))
+(defun jao-notmuch-tree-reset-tags ()
+ (interactive)
+ (let ((tags (plist-get (notmuch-tree-get-message-properties) :orig-tags)))
+ (jao-notmuch-tree--tag tags nil nil)))
+
;;;; Results formatters