mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 11:28:13 +01:00
pick: Fix incorrect use of `notmuch-pick-tag'
`notmuch-pick-tag' takes a list of tag changes, but `notmuch-pick-archive-message' passes it a &rest argument. This happens to work if `notmuch-archive-tags' contains a single tag (which it usually does), but will break if it does not.
This commit is contained in:
parent
22172daa17
commit
14971fe57c
1 changed files with 1 additions and 2 deletions
|
@ -542,8 +542,7 @@ message will be \"unarchived\", i.e. the tag changes in
|
|||
`notmuch-archive-tags' will be reversed."
|
||||
(interactive "P")
|
||||
(when notmuch-archive-tags
|
||||
(apply 'notmuch-pick-tag
|
||||
(notmuch-tag-change-list notmuch-archive-tags unarchive))))
|
||||
(notmuch-pick-tag (notmuch-tag-change-list notmuch-archive-tags unarchive))))
|
||||
|
||||
(defun notmuch-pick-archive-message-then-next (&optional unarchive)
|
||||
"Archive the current message and move to next matching message."
|
||||
|
|
Loading…
Reference in a new issue