diff options
Diffstat (limited to 'lisp/hi-lock.el')
-rw-r--r-- | lisp/hi-lock.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index c2568a518cb..f790546747d 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -426,7 +426,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. |