]> git.notmuchmail.org Git - notmuch/commit
emacs: Fix misuse of `notmuch-tag'
authorAustin Clements <amdragon@MIT.EDU>
Wed, 23 Oct 2013 00:21:54 +0000 (20:21 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 26 Oct 2013 00:25:37 +0000 (21:25 -0300)
commit440b8065c9a3b6a892702c4a484398407bd702df
tree4077379243f3099c8d265880b6aa6dd296781839
parentabedb55a45ed9a747387c954217553b1f0246c96
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.
emacs/notmuch.el