* lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448)

This commit is contained in:
Eli Zaretskii 2019-07-03 15:55:10 +03:00
parent dc5ed2c838
commit cb8fb597e5

View file

@ -409,7 +409,11 @@ versions before 22 use the following in your init file:
(defalias 'highlight-lines-matching-regexp 'hi-lock-line-face-buffer)
;;;###autoload
(defun hi-lock-line-face-buffer (regexp &optional face)
"Set face of all lines containing a match of REGEXP to FACE.
"Highlight all lines that match REGEXP using FACE.
The lines that match REGEXP will be displayed by merging
the attributes of FACE with any other face attributes
of text in those lines.
Interactively, prompt for REGEXP using `read-regexp', then FACE.
Use the global history list for FACE.