projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656c2dd
)
Fix dependency problem in hl-line-sticky-flag
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 22 Mar 2022 14:35:05 +0000
(15:35 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 22 Mar 2022 14:35:05 +0000
(15:35 +0100)
* lisp/hl-line.el (hl-line-sticky-flag): Open-code
hl-line-unhighlight to avoid recursive dependencies (bug#54481).
lisp/hl-line.el
patch
|
blob
|
history
diff --git
a/lisp/hl-line.el
b/lisp/hl-line.el
index 70ba0fcfc286d3b55baabebf02d059c6058dde7e..8c6b499f11db0ea902a589f05002a9b4f742b3b4 100644
(file)
--- a/
lisp/hl-line.el
+++ b/
lisp/hl-line.el
@@
-75,7
+75,9
@@
(dolist (buffer (buffer-list))
(unless (eq buffer selected)
(with-current-buffer buffer
- (hl-line-unhighlight))))))))
+ (when hl-line--overlay
+ (delete-overlay hl-line--overlay)
+ (setq hl-line--overlay nil)))))))))
(defcustom hl-line-overlay-priority -50
"Priority used on the overlay used by hl-line."