diff options
| author | Chong Yidong | 2007-04-20 19:26:56 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-04-20 19:26:56 +0000 |
| commit | bd68a445b3611efedfdb080c3ad75fb1e63a2220 (patch) | |
| tree | 00074d1e968975115d19be0ed23c567e6c8ce645 | |
| parent | 1b94354b36c32874232174236d9a572beeb58608 (diff) | |
| download | emacs-bd68a445b3611efedfdb080c3ad75fb1e63a2220.tar.gz emacs-bd68a445b3611efedfdb080c3ad75fb1e63a2220.zip | |
(Highlight Interactively): Document hi-lock-file-patterns-policy.
| -rw-r--r-- | man/display.texi | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/man/display.texi b/man/display.texi index a184f8b3db9..c0132da35d4 100644 --- a/man/display.texi +++ b/man/display.texi | |||
| @@ -711,9 +711,16 @@ at point, with comment delimiters to prevent them from changing your | |||
| 711 | program. (This key binding runs the | 711 | program. (This key binding runs the |
| 712 | @code{hi-lock-write-interactive-patterns} command.) | 712 | @code{hi-lock-write-interactive-patterns} command.) |
| 713 | 713 | ||
| 714 | These patterns will be read the next time you visit the file while | 714 | These patterns may be read the next time you visit the file while |
| 715 | Hi Lock mode is enabled, or whenever you use the @kbd{M-x | 715 | Hi Lock mode is enabled, or whenever you use the @kbd{M-x |
| 716 | hi-lock-find-patterns} command. | 716 | hi-lock-find-patterns} command. |
| 717 | |||
| 718 | Patterns are not read if the buffer's mode is listed in | ||
| 719 | @code{hi-lock-exclude-modes}. Patterns are only used if | ||
| 720 | @code{hi-lock-file-patterns-policy} is 'ask and the user responds yes | ||
| 721 | to a prompt, or if @code{hi-lock-file-patterns-policy} is bound to a | ||
| 722 | function and that function returns t. The function is called with the | ||
| 723 | patterns as an argument. | ||
| 717 | 724 | ||
| 718 | @item C-x w i | 725 | @item C-x w i |
| 719 | @kindex C-x w i | 726 | @kindex C-x w i |