]> granicus.if.org Git - neomutt/commitdiff
Document display-hook in the manual page.
authorThomas Roessler <roessler@does-not-exist.org>
Sat, 20 May 2000 07:53:50 +0000 (07:53 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sat, 20 May 2000 07:53:50 +0000 (07:53 +0000)
doc/muttrc.man.head

index c0c69ad933097da65bbd44fa0908a3b9be37fdc9..50f61d625bc8552528634fe29a0b4fb3b5cfe53a 100644 (file)
@@ -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