mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix dependency problem in hl-line-sticky-flag
* lisp/hl-line.el (hl-line-sticky-flag): Open-code hl-line-unhighlight to avoid recursive dependencies (bug#54481).
This commit is contained in:
parent
656c2dd66e
commit
46daf70c4a
1 changed files with 3 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue