mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
emacs: notmuch-message-apply-queued-tag-changes: cosmetics
This commit is contained in:
parent
117501d5ce
commit
b4deb33a66
1 changed files with 2 additions and 3 deletions
|
@ -62,9 +62,8 @@ applied to the matching messages.")
|
|||
(defun notmuch-message-apply-queued-tag-changes ()
|
||||
;; Apply the tag changes queued in the buffer-local variable
|
||||
;; notmuch-message-queued-tag-changes.
|
||||
(dolist (query-and-tags notmuch-message-queued-tag-changes)
|
||||
(notmuch-tag (car query-and-tags)
|
||||
(cdr query-and-tags))))
|
||||
(pcase-dolist (`(,query . ,tags) notmuch-message-queued-tag-changes)
|
||||
(notmuch-tag query tags)))
|
||||
|
||||
(add-hook 'message-send-hook 'notmuch-message-apply-queued-tag-changes)
|
||||
|
||||
|
|
Loading…
Reference in a new issue