From f440da16a7949253452c524869de276572394b25 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Mon, 6 Apr 2015 18:39:09 -0700 Subject: [PATCH] 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. --- doc/muttrc.man.head | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/muttrc.man.head b/doc/muttrc.man.head index 30d113f17..f213734f3 100644 --- a/doc/muttrc.man.head +++ b/doc/muttrc.man.head @@ -281,8 +281,8 @@ and subscribed mailing lists. The \fBunsubscribe\fP command removes 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 @@ in the order in which they occur in the configuration file, but all \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 -- 2.40.0