mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: Fix misuse of `notmuch-tag'
The calling convention for `notmuch-tag' changed in commit 97aa3c06
to
take a list of tag changes instead of a &rest argument, but the call
from `notmuch-search-tag-all' still passed a &rest argument. This
happened to work for interactive calls because tag-changes would be
nil, so the `apply' call would pass only the query string to
`notmuch-tag' and simply omit the &optional tag-changes argument.
This commit is contained in:
parent
abedb55a45
commit
440b8065c9
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ non-authors is found, assume that all of the authors match."
|
|||
|
||||
See `notmuch-tag' for information on the format of TAG-CHANGES."
|
||||
(interactive)
|
||||
(apply 'notmuch-tag notmuch-search-query-string tag-changes))
|
||||
(notmuch-tag notmuch-search-query-string tag-changes))
|
||||
|
||||
(defun notmuch-search-buffer-title (query)
|
||||
"Returns the title for a buffer with notmuch search results."
|
||||
|
|
Loading…
Reference in a new issue