Commit d534687c authored by Michael Heerdegen's avatar Michael Heerdegen

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.
parent b4065de3
Pipeline #2958 failed with stage
in 3 minutes and 43 seconds
......@@ -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
......
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