mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
Hi-lock lines up to right margin (Bug#15934)
* lisp/hi-lock.el (hi-lock-line-face-buffer): Change used regexp so that a line terminating newline character is included in the match.
This commit is contained in:
parent
b4065de33c
commit
d534687c43
@ -447,7 +447,7 @@ highlighting will not update as you type."
|
||||
(hi-lock-set-pattern
|
||||
;; The \\(?:...\\) grouping construct ensures that a leading ^, +, * or ?
|
||||
;; or a trailing $ in REGEXP will be interpreted correctly.
|
||||
(concat "^.*\\(?:" regexp "\\).*$") face))
|
||||
(concat "^.*\\(?:" regexp "\\).*\\(?:$\\)\n?") face))
|
||||
|
||||
|
||||
;;;###autoload
|
||||
|
Loading…
Reference in New Issue
Block a user