[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 72278f21e0: ; Clarify doc string of 'long-line-threshold'
From: |
Eli Zaretskii |
Subject: |
master 72278f21e0: ; Clarify doc string of 'long-line-threshold' |
Date: |
Thu, 21 Jul 2022 09:00:28 -0400 (EDT) |
branch: master
commit 72278f21e0ef0c79f756bca08577297d11e22518
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Clarify doc string of 'long-line-threshold'
* src/buffer.c (syms_of_buffer) <long-line-threshold>: Clarify the
doc string.
---
src/buffer.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/buffer.c b/src/buffer.c
index a55af906e2..a07194aef7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -6430,11 +6430,13 @@ will run for `clone-indirect-buffer' calls as well.
*/);
Vclone_indirect_buffer_hook = Qnil;
DEFVAR_LISP ("long-line-threshold", Vlong_line_threshold,
- doc: /* Line length above which specific display optimizations
are used.
-Display optimizations for long lines will automatically be enabled in
-buffers which contain one or more lines whose length is above that
-threshold.
-When nil, these display optimizations are disabled. */);
+ 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. */);
XSETFASTINT (Vlong_line_threshold, 10000);
defsubr (&Sbuffer_live_p);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 72278f21e0: ; Clarify doc string of 'long-line-threshold',
Eli Zaretskii <=