diff options
| author | Daniel Schoepe <daniel@schoepe.org> | 2015-06-16 23:47:20 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-06-30 21:37:25 +0200 |
| commit | 3b348ab1e11339ccbef1b56ceeb96e96e44eb079 (patch) | |
| tree | 642b0731ac2631dda253736022a1c8c821b16a6f | |
| parent | 8cca886b10c5ec44f3214701c0c1e3c896d53d5c (diff) | |
Fix documentation for notmuch--tag-hook functions
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.
| -rw-r--r-- | emacs/notmuch-tag.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el index f54aa9d6..c7f62c90 100644 --- a/emacs/notmuch-tag.el +++ b/emacs/notmuch-tag.el @@ -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" |
