projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4065de
)
Hi-lock lines up to right margin (Bug#15934)
author
Michael Heerdegen
<michael_heerdegen@web.de>
Wed, 21 Aug 2019 13:51:13 +0000
(15:51 +0200)
committer
Michael Heerdegen
<michael_heerdegen@web.de>
Fri, 23 Aug 2019 11:26:36 +0000
(13:26 +0200)
* lisp/hi-lock.el (hi-lock-line-face-buffer): Change used regexp so
that a line terminating newline character is included in the match.
lisp/hi-lock.el
patch
|
blob
|
history
diff --git
a/lisp/hi-lock.el
b/lisp/hi-lock.el
index 65465d3b4c8c251cb509ac9afbbaa0fe7a1d4346..b6b0e2a736e446ac1b81bbd013bca918788da8f4 100644
(file)
--- a/
lisp/hi-lock.el
+++ b/
lisp/hi-lock.el
@@
-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