changeset: 6439:ca5aff2a4b6e
user:      Kevin McCarthy <ke...@8t8.us>
date:      Mon Apr 06 18:39:09 2015 -0700
link:      http://dev.mutt.org/hg/mutt/rev/ca5aff2a4b6e

Clarify hook pattern vs regexp in muttrc.man page.

Updates to the muttrc.man page were inadvertently not included in
changeset:aac979f8b529.  Fix mbox-hook and crypt-hook to show
they accept a regexp, not a pattern.

diffs (23 lines):

diff -r e3e6febd8240 -r ca5aff2a4b6e doc/muttrc.man.head
--- a/doc/muttrc.man.head       Sun Apr 05 13:52:52 2015 -0700
+++ b/doc/muttrc.man.head       Mon Apr 06 18:39:09 2015 -0700
@@ -281,8 +281,8 @@
 it from the list of subscribed mailing lists. The \fB-group\fP flag
 adds all of the subsequent regular expressions to the named group.
 .TP
-\fBmbox-hook\fP [\fB!\fP]\fIpattern\fP \fImailbox\fP
-When mutt changes to a mail folder which matches \fIpattern\fP,
+\fBmbox-hook\fP [\fB!\fP]\fIregexp\fP \fImailbox\fP
+When mutt changes to a mail folder which matches \fIregexp\fP,
 \fImailbox\fP will be used as the \(lqmbox\(rq folder, i.e., read
 messages will be moved to that folder when the mail folder is left.
 .IP
@@ -348,7 +348,7 @@
 \fBreply-hook\fPs are matched and executed before \fBsend-hook\fPs,
 regardless of their order in the configuration file.
 .TP
-\fBcrypt-hook\fP \fIpattern\fP \fIkey-id\fP
+\fBcrypt-hook\fP \fIregexp\fP \fIkey-id\fP
 The crypt-hook command provides a method by which you can
 specify the ID of the public key to be used when encrypting messages
 to a certain recipient.  The meaning of "key ID" is to be taken

Reply via email to