diff options
| author | Eli Zaretskii | 2019-07-03 15:55:10 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-07-03 15:55:10 +0300 |
| commit | cb8fb597e5bf4f14bf091aaa0c984117f4243605 (patch) | |
| tree | f90a4aede1b1ad34635533ef7fdc899e855dc44a | |
| parent | dc5ed2c838abe50df4befe74bf11038d387b6ba8 (diff) | |
| download | emacs-cb8fb597e5bf4f14bf091aaa0c984117f4243605.tar.gz emacs-cb8fb597e5bf4f14bf091aaa0c984117f4243605.zip | |
* lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448)
| -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 b02fbc905b5..ce16c924524 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: | |||
| 409 | (defalias 'highlight-lines-matching-regexp 'hi-lock-line-face-buffer) | 409 | (defalias 'highlight-lines-matching-regexp 'hi-lock-line-face-buffer) |
| 410 | ;;;###autoload | 410 | ;;;###autoload |
| 411 | (defun hi-lock-line-face-buffer (regexp &optional face) | 411 | (defun hi-lock-line-face-buffer (regexp &optional face) |
| 412 | "Set face of all lines containing a match of REGEXP to FACE. | 412 | "Highlight all lines that match REGEXP using FACE. |
| 413 | The lines that match REGEXP will be displayed by merging | ||
| 414 | the attributes of FACE with any other face attributes | ||
| 415 | of text in those lines. | ||
| 416 | |||
| 413 | Interactively, prompt for REGEXP using `read-regexp', then FACE. | 417 | Interactively, prompt for REGEXP using `read-regexp', then FACE. |
| 414 | Use the global history list for FACE. | 418 | Use the global history list for FACE. |
| 415 | 419 | ||