From 56f41d7b36c7c5462d60ac0fb8839842173423bd Mon Sep 17 00:00:00 2001 From: inwit Date: Fri, 11 Feb 2022 17:56:32 +0100 Subject: [PATCH] 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. --- doc/man5/notmuch-hooks.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.43.0