Variable: large-hscroll-threshold
large-hscroll-threshold is a variable defined in buffer.c.
Value
10000
Documentation
Horizontal scroll of truncated lines above which to use redisplay shortcuts.
The value should be a positive integer.
Shortcuts in the display code intended to speed up redisplay for long and truncated lines will automatically be enabled when a line's horizontal scroll amount is or about to become larger than the value of this variable.
This variable has effect only in buffers which contain one or more
lines whose length is above long-line-threshold, which see.
To disable redisplay shortcuts for long truncated line, set this
variable to most-positive-fixnum.
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_INT ("large-hscroll-threshold", large_hscroll_threshold,
doc: /* Horizontal scroll of truncated lines above which to use redisplay shortcuts.
The value should be a positive integer.
Shortcuts in the display code intended to speed up redisplay for long
and truncated lines will automatically be enabled when a line's
horizontal scroll amount is or about to become larger than the value
of this variable.
This variable has effect only in buffers which contain one or more
lines whose length is above `long-line-threshold', which see.
To disable redisplay shortcuts for long truncated line, set this
variable to `most-positive-fixnum'.
There is no reason to change that value except for debugging purposes. */);