From: inwit Date: Fri, 11 Feb 2022 16:56:32 +0000 (+0100) Subject: doc: make post-hook description more precise X-Git-Tag: archive/debian/0.36_rc0-1~40 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=56f41d7b36c7c5462d60ac0fb8839842173423bd doc: make post-hook description more precise Add the word "any" to the description of post-new hook description in order to clarify that it is always run, even if there are no new messages. --- diff --git a/doc/man5/notmuch-hooks.rst b/doc/man5/notmuch-hooks.rst index 0ab5efbc..d778bdb8 100644 --- a/doc/man5/notmuch-hooks.rst +++ b/doc/man5/notmuch-hooks.rst @@ -30,9 +30,9 @@ pre-new post-new This hook is invoked by the :any:`notmuch-new(1)` command after - new messages have been imported into the database and initial tags - have been applied. The hook will not be run if there have been any - errors during the scan or import. + any new messages have been imported into the database and initial + tags have been applied. The hook will not be run if there have + been any errors during the scan or import. Typically this hook is used to perform additional query-based tagging on the imported messages.