From: Thomas Roessler Date: Sat, 20 May 2000 07:53:50 +0000 (+0000) Subject: Document display-hook in the manual page. X-Git-Tag: mutt-1-3-1-rel~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48a825f6b4a514945c677414346210a4343ca1fd;p=mutt Document display-hook in the manual page. --- diff --git a/doc/muttrc.man.head b/doc/muttrc.man.head index c0c69ad9..50f61d62 100644 --- a/doc/muttrc.man.head +++ b/doc/muttrc.man.head @@ -18,7 +18,7 @@ .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. .\" -.TH muttrc 5 "February 2000" Unix "User Manuals" +.TH muttrc 5 "May 2000" Unix "User Manuals" .SH NAME .PP muttrc \- Configuration file for the Mutt Mail User Agent @@ -111,6 +111,13 @@ This command defines an alias for a character set. This is useful to properly display messages which are tagged with a character set name not known to mutt. .TP +\fBdisplay-hook\fP [\fB!\fP]\Ipattern\fP \fIcommand\fP +Before mutt displays a message which matches the given \fIpattern\fP +(or, when it is preceded by an exclamation mark, does not match the +\fIpattern\fP), the given \fIcommand\fP is executed. When multiple +\fBdisplay-hook\fPs match, they are executed in the order in +which they occur in the configuration file. +.TP \fBfolder-hook\fP [\fB!\fP]\fIregexp\fP \fIcommand\fP When mutt enters a folder which matches \fIregexp\fP (or, when \fIregexp\fP is preceded by an exclamation mark, does not match