Variable: syntax-wholeline-max
syntax-wholeline-max is a variable defined in syntax.el.gz.
Value
10000
Documentation
Maximum line length for syntax operations.
If lines are longer than that, syntax operations will treat them as chunks of this size. Misfontification may then occur. This is a tradeoff between correctly applying the syntax rules, and avoiding major slowdown on pathologically long lines.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/syntax.el.gz
(defvar syntax-wholeline-max 10000
"Maximum line length for syntax operations.
If lines are longer than that, syntax operations will treat them as chunks
of this size. Misfontification may then occur.
This is a tradeoff between correctly applying the syntax rules,
and avoiding major slowdown on pathologically long lines.")