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

* lisp/hl-line.el (global-hl-line-buffers): Skip internal buffers (bug#79547).

This commit is contained in:
Juri Linkov 2025-10-01 09:40:05 +03:00
parent 8453fd59d4
commit b5ea92a62b

View file

@ -149,6 +149,7 @@ the command `global-hl-line-mode' to turn Global Hl-Line mode on."
(defcustom global-hl-line-buffers
'(not (or (lambda (b) (buffer-local-value 'cursor-face-highlight-mode b))
(lambda (b) (string-match-p "\\` " (buffer-name b)))
minibufferp))
"Whether the Global HL-Line mode should be enabled in a buffer.
The predicate is passed as argument to `buffer-match-p', which see.