diff options
author | Glenn Morris <rgm@gnu.org> | 2014-02-06 23:18:02 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-02-06 23:18:02 -0800 |
commit | 99cf38598cd4ac71407b542ba0054fa0df018eb1 (patch) | |
tree | 20a2135ebc933ece0c87cef64a66b99fa51c3005 /doc/emacs/display.texi | |
parent | e4eaacacc664e5469558350521add4f0b4163818 (diff) | |
download | emacs-99cf38598cd4ac71407b542ba0054fa0df018eb1.tar.gz |
Some hi-lock doc
* doc/emacs/display.texi (Highlight Interactively):
Mention hi-lock-auto-select-face.
* lisp/hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
(hi-lock-face-buffer, hi-lock-face-phrase-buffer)
(hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
* etc/NEWS: Related edits.
Diffstat (limited to 'doc/emacs/display.texi')
-rw-r--r-- | doc/emacs/display.texi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index d9fd819c219..d53c80acafd 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -928,6 +928,12 @@ highlighting, Hi Lock provides several of its own and these are pre-loaded into a list of default values. While being prompted for a face use @kbd{M-n} and @kbd{M-p} to cycle through them. +@vindex hi-lock-auto-select-face +Setting the option @code{hi-lock-auto-select-face} to a non-@code{nil} +value causes this command (and other Hi Lock commands that read faces) +to automatically choose the next face from the default list without +prompting. + You can use this command multiple times, specifying various regular expressions to highlight in different ways. @@ -976,8 +982,8 @@ initial lower-case letters will become case insensitive. @findex highlight-symbol-at-point @cindex symbol, highlighting @cindex highlighting symbol at point -Highlight the symbol found near point without prompting, using the next -available face automatically (@code{highlight-symbol-at-point}). +Highlight the symbol found near point, using the next available face +(@code{highlight-symbol-at-point}). @item M-s h w @itemx C-x w b |