summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2023-02-09 01:09:10 +0000
committerGregory Heytings <gregory@heytings.org>2023-02-09 02:44:51 +0100
commita6cd4553d48aff1d241d54d62dc1b39b3ff541e0 (patch)
tree4a47008c3c1568c8539b7a352ca6cd172955196c /src/buffer.c
parent0d73e4aa261d1d751a7469a6274b2e1b9fa210e6 (diff)
downloademacs-a6cd4553d48aff1d241d54d62dc1b39b3ff541e0.tar.gz
Rename two long line optimizations variables
* src/buffer.c (syms_of_buffer): Rename two variables. * src/xdisp.c (get_locked_narrowing_begv): (get_locked_narrowing_zv): (handle_fontified_prop): Use the new names. * src/keyboard.c (safe_run_hooks_maybe_narrowed): Use the new names.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 38648519ba0..07723a7c6ff 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5916,8 +5916,8 @@ If nil, these display shortcuts will always remain disabled.
There is no reason to change that value except for debugging purposes. */);
XSETFASTINT (Vlong_line_threshold, 50000);
- DEFVAR_INT ("long-line-locked-narrowing-region-size",
- long_line_locked_narrowing_region_size,
+ DEFVAR_INT ("long-line-optimizations-region-size",
+ long_line_optimizations_region_size,
doc: /* Region size for locked narrowing in buffers with long lines.
This variable has effect only in buffers which contain one or more
@@ -5932,10 +5932,10 @@ To disable that narrowing, set this variable to 0.
See also `long-line-locked-narrowing-bol-search-limit'.
There is no reason to change that value except for debugging purposes. */);
- long_line_locked_narrowing_region_size = 500000;
+ long_line_optimizations_region_size = 500000;
- DEFVAR_INT ("long-line-locked-narrowing-bol-search-limit",
- long_line_locked_narrowing_bol_search_limit,
+ 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 which contain one or more
@@ -5949,7 +5949,7 @@ 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. */);
- long_line_locked_narrowing_bol_search_limit = 128;
+ long_line_optimizations_bol_search_limit = 128;
DEFVAR_INT ("large-hscroll-threshold", large_hscroll_threshold,
doc: /* Horizontal scroll of truncated lines above which to use redisplay shortcuts.