Commit cb8fb597 authored by Eli Zaretskii's avatar Eli Zaretskii

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

parent dc5ed2c8
Pipeline #2238 passed with stage
in 25 minutes and 29 seconds
......@@ -409,7 +409,11 @@ versions before 22 use the following in your init file:
(defalias 'highlight-lines-matching-regexp 'hi-lock-line-face-buffer)
(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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment