changeset 77346:028b0d9d406d

(Highlight Interactively): Document hi-lock-file-patterns-policy.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 20 Apr 2007 19:26:56 +0000
parents b2543106d46c
children 0ccaaefc78e7
files man/display.texi
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/man/display.texi	Fri Apr 20 19:26:49 2007 +0000
+++ b/man/display.texi	Fri Apr 20 19:26:56 2007 +0000
@@ -711,9 +711,16 @@
 program.  (This key binding runs the
 @code{hi-lock-write-interactive-patterns} command.)
 
-These patterns will be read the next time you visit the file while
+These patterns may be read the next time you visit the file while
 Hi Lock mode is enabled, or whenever you use the @kbd{M-x
-hi-lock-find-patterns} command.
+hi-lock-find-patterns} command. 
+
+Patterns are not read if the buffer's mode is listed in
+@code{hi-lock-exclude-modes}. Patterns are only used if
+@code{hi-lock-file-patterns-policy} is 'ask and the user responds yes
+to a prompt, or if @code{hi-lock-file-patterns-policy} is bound to a
+function and that function returns t. The function is called with the
+patterns as an argument.
 
 @item C-x w i
 @kindex C-x w i