]> git.notmuchmail.org Git - notmuch/commitdiff
Fix documentation for notmuch--tag-hook functions
authorDaniel Schoepe <daniel@schoepe.org>
Tue, 16 Jun 2015 21:47:20 +0000 (23:47 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 30 Jun 2015 19:37:25 +0000 (21:37 +0200)
The second argument to notmuch-tag is now called tag-changes, but the
documentation for notmuch-before-tag-hook and notmuch-after-tag-hook
still used the old argument name `tags'. This resulted in broken hooks
when following the documentation.

emacs/notmuch-tag.el

index f54aa9d69ef8d440a2e81756fd570ab32a96a2d8..c7f62c90974995caf64aea212e0a5eae9fa97b5e 100644 (file)
@@ -265,7 +265,7 @@ changed (the normal case) are shown using formats from
 (defcustom notmuch-before-tag-hook nil
   "Hooks that are run before tags of a message are modified.
 
-'tags' will contain the tags that are about to be added or removed as
+'tag-changes' will contain the tags that are about to be added or removed as
 a list of strings of the form \"+TAG\" or \"-TAG\".
 'query' will be a string containing the search query that determines
 the messages that are about to be tagged"
@@ -277,7 +277,7 @@ the messages that are about to be tagged"
 (defcustom notmuch-after-tag-hook nil
   "Hooks that are run after tags of a message are modified.
 
-'tags' will contain the tags that were added or removed as
+'tag-changes' will contain the tags that were added or removed as
 a list of strings of the form \"+TAG\" or \"-TAG\".
 'query' will be a string containing the search query that determines
 the messages that were tagged"