diff options
| author | Stefan Kangas | 2025-03-20 19:04:45 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2025-03-20 19:05:29 +0100 |
| commit | f0800612e5c5835bd74459eab9dd8843ed9cdfd3 (patch) | |
| tree | 56e77673bab0bde3810eb0eb3fc52f9ba3ac02b8 | |
| parent | 60e9195984d746cbbb5939918ed5ddc27377c0e6 (diff) | |
| download | emacs-f0800612e5c5835bd74459eab9dd8843ed9cdfd3.tar.gz emacs-f0800612e5c5835bd74459eab9dd8843ed9cdfd3.zip | |
; Fix global-hl-line-highlight after recent commit
| -rw-r--r-- | lisp/hl-line.el | 3 |
1 files changed, 2 insertions, 1 deletions
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'." | |||
| 263 | 263 | ||
| 264 | (defun global-hl-line-highlight () | 264 | (defun global-hl-line-highlight () |
| 265 | "Highlight the current line in the current window." | 265 | "Highlight the current line in the current window." |
| 266 | (when (and global-hl-line-mode ; Might be changed outside the mode function. | 266 | (require 'easy-mmode) |
| 267 | (when (and global-hl-line-mode ; Might be changed outside the mode function. | ||
| 267 | (easy-mmode--globalized-predicate-p global-hl-line-modes)) | 268 | (easy-mmode--globalized-predicate-p global-hl-line-modes)) |
| 268 | (unless (window-minibuffer-p) | 269 | (unless (window-minibuffer-p) |
| 269 | (unless (overlayp global-hl-line-overlay) | 270 | (unless (overlayp global-hl-line-overlay) |