diff options
| author | Eli Zaretskii | 2022-07-21 15:59:50 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-07-21 15:59:50 +0300 |
| commit | 72278f21e0ef0c79f756bca08577297d11e22518 (patch) | |
| tree | ad2a79aa1838223eb657cfc7d73ec3b2c1565013 /src/buffer.c | |
| parent | 616da8fa8efa9023f56fa731072d877e2150afbc (diff) | |
| download | emacs-72278f21e0ef0c79f756bca08577297d11e22518.tar.gz emacs-72278f21e0ef0c79f756bca08577297d11e22518.zip | |
; Clarify doc string of 'long-line-threshold'
* src/buffer.c (syms_of_buffer) <long-line-threshold>: Clarify the
doc string.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c index a55af906e26..a07194aef72 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -6430,11 +6430,13 @@ will run for `clone-indirect-buffer' calls as well. */); | |||
| 6430 | Vclone_indirect_buffer_hook = Qnil; | 6430 | Vclone_indirect_buffer_hook = Qnil; |
| 6431 | 6431 | ||
| 6432 | DEFVAR_LISP ("long-line-threshold", Vlong_line_threshold, | 6432 | DEFVAR_LISP ("long-line-threshold", Vlong_line_threshold, |
| 6433 | doc: /* Line length above which specific display optimizations are used. | 6433 | doc: /* Line length above which to use redisplay shortcuts. |
| 6434 | Display optimizations for long lines will automatically be enabled in | 6434 | The value should be a positive integer or nil. |
| 6435 | buffers which contain one or more lines whose length is above that | 6435 | If the value is an integer, shortcuts in the display code intended |
| 6436 | threshold. | 6436 | to speed up redisplay for long lines will automatically be enabled |
| 6437 | When nil, these display optimizations are disabled. */); | 6437 | in buffers which contain one or more lines whose length is above |
| 6438 | this threshold. | ||
| 6439 | If nil, these display shortcuts will always remain disabled. */); | ||
| 6438 | XSETFASTINT (Vlong_line_threshold, 10000); | 6440 | XSETFASTINT (Vlong_line_threshold, 10000); |
| 6439 | 6441 | ||
| 6440 | defsubr (&Sbuffer_live_p); | 6442 | defsubr (&Sbuffer_live_p); |