Variable: long-line-threshold
long-line-threshold is a variable defined in buffer.c.
Value
50000
Documentation
Line length above which to use redisplay shortcuts.
The value should be a positive integer or nil. If the value is an integer, shortcuts in the display code intended to speed up redisplay for long lines will automatically be enabled in buffers which contain one or more lines whose length is above this threshold. If nil, these display shortcuts will always remain disabled.
There is no reason to change that value except for debugging purposes.
Probably introduced at or before Emacs version 29.1.
Source Code
// Defined in /usr/src/emacs/src/buffer.c
DEFVAR_LISP ("long-line-threshold", Vlong_line_threshold,
doc: /* Line length above which to use redisplay shortcuts.
The value should be a positive integer or nil.
If the value is an integer, shortcuts in the display code intended
to speed up redisplay for long lines will automatically be enabled
in buffers which contain one or more lines whose length is above
this threshold.
If nil, these display shortcuts will always remain disabled.
There is no reason to change that value except for debugging purposes. */);