diff options
| author | Glenn Morris | 2010-01-10 19:03:38 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-01-10 19:03:38 -0800 |
| commit | 0419b8d6eb95ba71ead60aed3cad04536da25289 (patch) | |
| tree | c820a7f11e423c8fc7411a6a6a1d93c41cddb28e | |
| parent | 889e4d55f531ed7bd8327893c688419c78882c06 (diff) | |
| download | emacs-0419b8d6eb95ba71ead60aed3cad04536da25289.tar.gz emacs-0419b8d6eb95ba71ead60aed3cad04536da25289.zip | |
(Highlight Interactively): `t' does not mean highlight all patterns.
(Bug#5335)
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 21 |
2 files changed, 16 insertions, 10 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 8d7b5383d72..77864c63f4c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-01-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Highlight Interactively): `t' does not mean highlight | ||
| 4 | all patterns. (Bug#5335) | ||
| 5 | |||
| 1 | 2009-12-29 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-12-29 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * misc.texi (Shell): Document async-shell-command. | 8 | * misc.texi (Shell): Document async-shell-command. |
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 8f99e71ceab..c7afe5445a6 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, | 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, |
| 3 | @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 3 | @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 4 | @c Free Software Foundation, Inc. | ||
| 5 | |||
| 4 | @c See file emacs.texi for copying conditions. | 6 | @c See file emacs.texi for copying conditions. |
| 5 | @node Display, Search, Registers, Top | 7 | @node Display, Search, Registers, Top |
| 6 | @chapter Controlling the Display | 8 | @chapter Controlling the Display |
| @@ -775,15 +777,14 @@ have Hi Lock highlight the edited patterns. | |||
| 775 | 777 | ||
| 776 | @vindex hi-lock-file-patterns-policy | 778 | @vindex hi-lock-file-patterns-policy |
| 777 | The variable @code{hi-lock-file-patterns-policy} controls whether Hi | 779 | The variable @code{hi-lock-file-patterns-policy} controls whether Hi |
| 778 | Lock mode should automatically extract and highlight patterns found in | 780 | Lock mode should automatically extract and highlight patterns found in a |
| 779 | a file when it is visited. Its value can be @code{nil} (never | 781 | file when it is visited. Its value can be @code{nil} (never highlight), |
| 780 | highlight), @code{t} (highlight the patterns), @code{ask} (query the | 782 | @code{ask} (query the user), or a function. If it is a function, |
| 781 | user), or a function. If it is a function, | 783 | @code{hi-lock-find-patterns} calls it with the patterns as argument; if |
| 782 | @code{hi-lock-find-patterns} calls it with the patterns as argument; | 784 | the function returns non-@code{nil}, the patterns are used. The default |
| 783 | if the function returns non-@code{nil}, the patterns are used. The | 785 | is @code{ask}. Note that patterns are always highlighted if you call |
| 784 | default is @code{nil}. Note that patterns are always highlighted if | 786 | @code{hi-lock-find-patterns} directly, regardless of the value of this |
| 785 | you call @code{hi-lock-find-patterns} directly, regardless of the | 787 | variable. |
| 786 | value of this variable. | ||
| 787 | 788 | ||
| 788 | @vindex hi-lock-exclude-modes | 789 | @vindex hi-lock-exclude-modes |
| 789 | Also, @code{hi-lock-find-patterns} does nothing if the current major | 790 | Also, @code{hi-lock-find-patterns} does nothing if the current major |