aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-04-23 14:39:40 +0000
committerChong Yidong2007-04-23 14:39:40 +0000
commitd439bcd8058181dec7b43115e1a99d1a897f8cf5 (patch)
treecb5dcea01871aa4b1be56ae67010ce59cac7fd1c
parent6ef234e266441b736dcd6456ad99372ce60834a8 (diff)
downloademacs-d439bcd8058181dec7b43115e1a99d1a897f8cf5.tar.gz
emacs-d439bcd8058181dec7b43115e1a99d1a897f8cf5.zip
(Highlight Interactively): Correct description of hi-lock-file-patterns-policy.
-rw-r--r--man/display.texi14
1 files changed, 9 insertions, 5 deletions
diff --git a/man/display.texi b/man/display.texi
index 81ea723ddb8..6cb2d857165 100644
--- a/man/display.texi
+++ b/man/display.texi
@@ -726,12 +726,16 @@ match), and finally use this command (@code{hi-lock-find-patterns}) to
726have Hi Lock highlight the edited patterns. 726have Hi Lock highlight the edited patterns.
727 727
728@vindex hi-lock-file-patterns-policy 728@vindex hi-lock-file-patterns-policy
729The variable @code{hi-lock-file-patterns-policy} controls whether 729The variable @code{hi-lock-file-patterns-policy} controls whether Hi
730@code{hi-lock-find-patterns} should really do anything. Its value can 730Lock mode should automatically extract and highlight patterns found in
731be @code{nil} (do nothing), @code{t} (extract the patterns), 731a file when it is visited. Its value can be @code{nil} (never
732@code{ask} (query the user), or a function. If it is a function, 732highlight), @code{t} (highlight the patterns), @code{ask} (query the
733user), or a function. If it is a function,
733@code{hi-lock-find-patterns} calls it with the patterns as argument; 734@code{hi-lock-find-patterns} calls it with the patterns as argument;
734if the function returns non-@code{nil}, the patterns are used. 735if the function returns non-@code{nil}, the patterns are used. The
736default is @code{nil}. Note that patterns are always highlighted if
737you call @code{hi-lock-find-patterns} directly, regardless of the
738value of this variable.
735 739
736@vindex hi-lock-exclude-modes 740@vindex hi-lock-exclude-modes
737Also, @code{hi-lock-find-patterns} does nothing if the current major 741Also, @code{hi-lock-find-patterns} does nothing if the current major