]> git.eshelyaron.com Git - emacs.git/commitdiff
Docstring improvements
authorGregory Heytings <gregory@heytings.org>
Sat, 26 Nov 2022 16:29:52 +0000 (16:29 +0000)
committerGregory Heytings <gregory@heytings.org>
Sat, 26 Nov 2022 16:30:31 +0000 (17:30 +0100)
* src/xdisp.c (syms_of_xdisp):
* src/keyboard.c (syms_of_keyboard):
* src/buffer.c (syms_of_buffer):
Docstring improvements.

src/buffer.c
src/keyboard.c
src/xdisp.c

index ef7e6f18340bbc3d32944008190d9250e8a8ac43..426c0e66848df9b96fb3e1874ba7b2052f0ec1d7 100644 (file)
@@ -5897,6 +5897,8 @@ variable specifies the size of the narrowed region around point.
 
 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;
 
@@ -5912,7 +5914,7 @@ narrowed buffer, with a narrowing locked with `narrowing-lock'.  The
 variable `long-line-locked-narrowing-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 start it at the beginning of a line.
+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;
index cb308f5bfc1cb6f0cb1896211fa804938c234f16..a3b1b6fd47887acdd46121174f9545e47e6c81c0 100644 (file)
@@ -12727,7 +12727,8 @@ the error might happen repeatedly and make Emacs nonfunctional.
 
 Note that, when the current buffer contains one or more lines whose
 length is above `long-line-threshold', these hook functions are called
-with the buffer narrowed to a small portion around point, and the
+with the buffer narrowed to a small portion around point (whose size
+is specified by `long-line-locked-narrowing-region-size'), and the
 narrowing is locked (see `narrow-to-region'), so that these hook
 functions cannot use `widen' to gain access to other portions of
 buffer text.
@@ -12748,7 +12749,8 @@ avoid making Emacs unresponsive while the user types.
 
 Note that, when the current buffer contains one or more lines whose
 length is above `long-line-threshold', these hook functions are called
-with the buffer narrowed to a small portion around point, and the
+with the buffer narrowed to a small portion around point (whose size
+is specified by `long-line-locked-narrowing-region-size'), and the
 narrowing is locked (see `narrow-to-region'), so that these hook
 functions cannot use `widen' to gain access to other portions of
 buffer text.
index 430201874c3e4eefbe1302f6cbfa8e1b7b5b6e8b..ba105a28055c3d6811db6003160d35a05a7b20e0 100644 (file)
@@ -36745,10 +36745,11 @@ fontify a region starting at POS in the current buffer, and give
 fontified regions the property `fontified' with a non-nil value.
 
 Note that, when the buffer contains one or more lines whose length is
-above `long-line-threshold', these functions are called with the buffer
-narrowed to a small portion around POS, and the narrowing is locked (see
-`narrow-to-region'), so that these functions cannot use `widen' to gain
-access to other portions of buffer text.  */);
+above `long-line-threshold', these functions are called with the
+buffer narrowed to a small portion around POS (whose size is specified
+by `long-line-locked-narrowing-region-size'), and the narrowing is
+locked (see `narrow-to-region'), so that these functions cannot use
+`widen' to gain access to other portions of buffer text.  */);
   Vfontification_functions = Qnil;
   Fmake_variable_buffer_local (Qfontification_functions);