Variable: long-line-optimizations-bol-search-limit
long-line-optimizations-bol-search-limit is a variable defined in
buffer.c.
Value
128
Documentation
Limit for beginning of line search in buffers with long lines.
This variable has effect only in buffers in which
long-line-optimizations-p is non-nil. For performance reasons, in
such buffers, the fontification-functions, pre-command-hook and
post-command-hook hooks are executed on a narrowed buffer around
point, as if they were called in a with-restriction form with a label.
The variable long-line-optimizations-region-size specifies the
size of the narrowed region around point. This variable, which should
be a small integer, specifies the number of characters by which that
region can be extended backwards to make it start at the beginning of
a line.
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 ("long-line-optimizations-bol-search-limit",
long_line_optimizations_bol_search_limit,
doc: /* Limit for beginning of line search in buffers with long lines.
This variable has effect only in buffers in which
`long-line-optimizations-p' is non-nil. For performance reasons, in
such buffers, the `fontification-functions', `pre-command-hook' and
`post-command-hook' hooks are executed on a narrowed buffer around
point, as if they were called in a `with-restriction' form with a label.
The variable `long-line-optimizations-region-size' specifies the
size of the narrowed region around point. This variable, which should
be a small integer, specifies the number of characters by which that
region can be extended backwards to make it start at the beginning of
a line.
There is no reason to change that value except for debugging purposes. */);