Variable: hi-lock-highlight-range
hi-lock-highlight-range is a customizable variable defined in
hi-lock.el.gz.
Value
2000000
Documentation
Size of area highlighted by hi-lock when font-lock not active.
Font-lock is not active in buffers that do their own highlighting,
such as the buffer created by list-colors-display. In those buffers
hi-lock patterns will only be applied over a range of
hi-lock-highlight-range characters. If font-lock is active then
highlighting will be applied throughout the buffer.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/hi-lock.el.gz
(defcustom hi-lock-highlight-range 2000000
"Size of area highlighted by hi-lock when font-lock not active.
Font-lock is not active in buffers that do their own highlighting,
such as the buffer created by `list-colors-display'. In those buffers
hi-lock patterns will only be applied over a range of
`hi-lock-highlight-range' characters. If font-lock is active then
highlighting will be applied throughout the buffer."
:type 'integer
:group 'hi-lock)