summaryrefslogtreecommitdiffhomepage
path: root/lib/net
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-01-12 18:28:26 +0000
committerjao <jao@gnu.org>2022-01-12 18:28:26 +0000
commit29cc19fc5eec7f9ddc7d56c475112e2ff7acb6a4 (patch)
tree9212a89d6c8de9211fd977d359f2b86af8ca4cff /lib/net
parentca6005f8f8dbf7b67f2953320e56b092d3cb797e (diff)
downloadelibs-29cc19fc5eec7f9ddc7d56c475112e2ff7acb6a4.tar.gz
elibs-29cc19fc5eec7f9ddc7d56c475112e2ff7acb6a4.tar.bz2
jao-notmuch: new command to undo tagging
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