]> granicus.if.org Git - neomutt/commitdiff
add note about use of ! ~Q in send-hook when paired with reply-hook.
authorMichael Elkins <me@sigpipe.org>
Mon, 21 Oct 2013 18:58:24 +0000 (11:58 -0700)
committerMichael Elkins <me@sigpipe.org>
Mon, 21 Oct 2013 18:58:24 +0000 (11:58 -0700)
doc/manual.xml.head

index 03ab29c10829fa3d3707415181bcf920208bbee6..0093685e0708013c5778890f6972c89e80c1c69f 100644 (file)
@@ -3510,9 +3510,13 @@ against all messages, both <emphasis>new</emphasis> and
 
 <note>
 <para>
-<command>reply-hook</command>s are matched <emphasis>before</emphasis>
-the <command>send-hook</command>, <emphasis>regardless</emphasis> of the
-order specified in the user's configuration file.
+<command>reply-hook</command>s are matched <emphasis>before</emphasis> the
+<command>send-hook</command>, <emphasis>regardless</emphasis> of the order
+specified in the user's configuration file.  However, you can inhibit
+<command>send-hook</command> in the reply case by using the pattern
+<literal>'! ~Q'</literal> (<emphasis>not replied</emphasis>, see
+<xref linkend="pattern-hook"/>) in the <command>send-hook</command> to tell
+when <command>reply-hook</command> have been executed.
 </para>
 </note>