aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2018-08-15 05:37:45 +0300
committerEli Zaretskii2018-08-15 05:37:45 +0300
commitbcdb2d9733118a6529a66e12c3f2dc7662370c15 (patch)
treebc1c7fbaa0a2416122de31bf0787e6022bbef6e8 /doc
parentcc5a23d40bfa7a832f7a6fb7a016557ac1416559 (diff)
downloademacs-bcdb2d9733118a6529a66e12c3f2dc7662370c15.tar.gz
emacs-bcdb2d9733118a6529a66e12c3f2dc7662370c15.zip
Improve documentation of last change
* lisp/hi-lock.el (hi-lock-set-pattern, hi-lock-face-buffer): Improve the doc strings. (Bug#32365) * etc/NEWS: * doc/emacs/display.texi (Highlight Interactively): Clarify wording.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/display.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index fe4936d85a1..d9a08b974f6 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -974,9 +974,10 @@ the buffer is loaded. For example, to highlight all occurrences of
974the word ``whim'' using the default face (a yellow background), type 974the 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
976highlighting, Hi Lock provides several of its own and these are 976highlighting, Hi Lock provides several of its own and these are
977pre-loaded into a list of default values. While being prompted 977pre-loaded into a list of default values. While being prompted for a
978for a face use @kbd{M-n} and @kbd{M-p} to cycle through them. A prefix 978face use @kbd{M-n} and @kbd{M-p} to cycle through them. A prefix
979argument limits the highlighting to the corresponding subexpression. 979numeric argument limits the highlighting to the corresponding
980subexpression.
980 981
981@vindex hi-lock-auto-select-face 982@vindex hi-lock-auto-select-face
982Setting the option @code{hi-lock-auto-select-face} to a non-@code{nil} 983Setting the option @code{hi-lock-auto-select-face} to a non-@code{nil}