[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 cb8fb59: * lisp/hi-lock.el (hi-lock-line-face-buf
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 cb8fb59: * lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448) |
Date: |
Wed, 3 Jul 2019 08:56:00 -0400 (EDT) |
branch: emacs-26
commit cb8fb597e5bf4f14bf091aaa0c984117f4243605
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448)
---
lisp/hi-lock.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index b02fbc9..ce16c92 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 cb8fb59: * lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448),
Eli Zaretskii <=