diff options
| author | Grégory Mounié | 2018-08-03 23:08:10 +0200 |
|---|---|---|
| committer | Noam Postavsky | 2018-08-14 19:38:21 -0400 |
| commit | cc5a23d40bfa7a832f7a6fb7a016557ac1416559 (patch) | |
| tree | 258ec3f55c167d7d8c6da9635c67ed81d7677777 /doc | |
| parent | 1164d49ba6a3ce59a2bd404219851d8e27b54611 (diff) | |
| download | emacs-cc5a23d40bfa7a832f7a6fb7a016557ac1416559.tar.gz emacs-cc5a23d40bfa7a832f7a6fb7a016557ac1416559.zip | |
Interactive Highlighting: prefix argument to select subexp
* doc/emacs/display.texi (Highlight Interactively):
* etc/NEWS: Document the change.
* lisp/hi-lock.el (hi-lock-face-buffer, hi-lock-set-pattern): Use
the prefix argument to highlight only the corresponding sub-expression
of the regexp (Bug#32365).
Copyright-paperwork-exempt: yes
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/display.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 2f5ce80d607..fe4936d85a1 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -975,7 +975,8 @@ the word ``whim'' using the default face (a yellow background), type | |||
| 975 | @kbd{M-s h r whim @key{RET} @key{RET}}. Any face can be used for | 975 | @kbd{M-s h r whim @key{RET} @key{RET}}. Any face can be used for |
| 976 | highlighting, Hi Lock provides several of its own and these are | 976 | highlighting, Hi Lock provides several of its own and these are |
| 977 | pre-loaded into a list of default values. While being prompted | 977 | pre-loaded into a list of default values. While being prompted |
| 978 | for a face use @kbd{M-n} and @kbd{M-p} to cycle through them. | 978 | for a face use @kbd{M-n} and @kbd{M-p} to cycle through them. A prefix |
| 979 | argument limits the highlighting to the corresponding subexpression. | ||
| 979 | 980 | ||
| 980 | @vindex hi-lock-auto-select-face | 981 | @vindex hi-lock-auto-select-face |
| 981 | Setting the option @code{hi-lock-auto-select-face} to a non-@code{nil} | 982 | Setting the option @code{hi-lock-auto-select-face} to a non-@code{nil} |