]> git.cworth.org Git - notmuch/commitdiff
doc: make post-hook description more precise
authorinwit <inwit@sindominio.net>
Fri, 11 Feb 2022 16:56:32 +0000 (17:56 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 11 Feb 2022 17:39:07 +0000 (13:39 -0400)
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

index 0ab5efbc9c503e64cac3659c7f6f0ccdc0947f4f..d778bdb8133692e8b542677fd513c7460265a522 100644 (file)
@@ -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.