Re: [RFC PATCH v2 8/8] WIP: add notmuch-tag-undo

2022-02-02 Thread David Bremner
David Bremner writes: > +(defun notmuch-tag-undo () > + (interactive) > + (when (null notmuch-tag-history) > +(error "no further notmuch undo information")) > + (let* ((action (pop notmuch-tag-history)) > + (from (plist-get action :from)) > + (to (plist-get action :to)) > +

[RFC PATCH v2 8/8] WIP: add notmuch-tag-undo

2022-01-29 Thread David Bremner
--- emacs/notmuch-tag.el | 12 test/T315-emacs-tagging.sh | 19 +++ 2 files changed, 31 insertions(+) diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el index 28a2b596..7ed5c1a5 100644 --- a/emacs/notmuch-tag.el +++ b/emacs/notmuch-tag.el @@ -506,6