1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

; Fix global-hl-line-highlight after recent commit

This commit is contained in:
Stefan Kangas 2025-03-20 19:04:45 +01:00
parent 60e9195984
commit f0800612e5

View file

@ -263,7 +263,8 @@ on `post-command-hook'."
(defun global-hl-line-highlight ()
"Highlight the current line in the current window."
(when (and global-hl-line-mode ; Might be changed outside the mode function.
(require 'easy-mmode)
(when (and global-hl-line-mode ; Might be changed outside the mode function.
(easy-mmode--globalized-predicate-p global-hl-line-modes))
(unless (window-minibuffer-p)
(unless (overlayp global-hl-line-overlay)