From f0800612e5c5835bd74459eab9dd8843ed9cdfd3 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 20 Mar 2025 19:04:45 +0100 Subject: [PATCH] ; Fix global-hl-line-highlight after recent commit --- lisp/hl-line.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/hl-line.el b/lisp/hl-line.el index 0f36b2458ab..2c80ce0c1ca 100644 --- a/lisp/hl-line.el +++ b/lisp/hl-line.el @@ -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)