aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGregory Heytings2022-11-26 16:29:52 +0000
committerGregory Heytings2022-11-26 17:30:31 +0100
commit4b5e31bf02ab276f1ee1cbe91b016d96bed59d63 (patch)
tree9b0d3174b9cebc6f1553d0f8c6f6eac1d48d022f /src
parent2ea4f9784730930dbcca90ae5e97216e8a1b2333 (diff)
downloademacs-4b5e31bf02ab276f1ee1cbe91b016d96bed59d63.tar.gz
emacs-4b5e31bf02ab276f1ee1cbe91b016d96bed59d63.zip
Docstring improvements
* src/xdisp.c (syms_of_xdisp): * src/keyboard.c (syms_of_keyboard): * src/buffer.c (syms_of_buffer): Docstring improvements.
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c4
-rw-r--r--src/keyboard.c6
-rw-r--r--src/xdisp.c9
3 files changed, 12 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c
index ef7e6f18340..426c0e66848 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5897,6 +5897,8 @@ variable specifies the size of the narrowed region around point.
5897 5897
5898To disable that narrowing, set this variable to 0. 5898To disable that narrowing, set this variable to 0.
5899 5899
5900See also `long-line-locked-narrowing-bol-search-limit'.
5901
5900There is no reason to change that value except for debugging purposes. */); 5902There is no reason to change that value except for debugging purposes. */);
5901 long_line_locked_narrowing_region_size = 500000; 5903 long_line_locked_narrowing_region_size = 500000;
5902 5904
@@ -5912,7 +5914,7 @@ narrowed buffer, with a narrowing locked with `narrowing-lock'. The
5912variable `long-line-locked-narrowing-region-size' specifies the size 5914variable `long-line-locked-narrowing-region-size' specifies the size
5913of the narrowed region around point. This variable, which should be a 5915of the narrowed region around point. This variable, which should be a
5914small integer, specifies the number of characters by which that region 5916small integer, specifies the number of characters by which that region
5915can be extended backwards to start it at the beginning of a line. 5917can be extended backwards to make it start at the beginning of a line.
5916 5918
5917There is no reason to change that value except for debugging purposes. */); 5919There is no reason to change that value except for debugging purposes. */);
5918 long_line_locked_narrowing_bol_search_limit = 128; 5920 long_line_locked_narrowing_bol_search_limit = 128;
diff --git a/src/keyboard.c b/src/keyboard.c
index cb308f5bfc1..a3b1b6fd478 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -12727,7 +12727,8 @@ the error might happen repeatedly and make Emacs nonfunctional.
12727 12727
12728Note that, when the current buffer contains one or more lines whose 12728Note that, when the current buffer contains one or more lines whose
12729length is above `long-line-threshold', these hook functions are called 12729length is above `long-line-threshold', these hook functions are called
12730with the buffer narrowed to a small portion around point, and the 12730with the buffer narrowed to a small portion around point (whose size
12731is specified by `long-line-locked-narrowing-region-size'), and the
12731narrowing is locked (see `narrow-to-region'), so that these hook 12732narrowing is locked (see `narrow-to-region'), so that these hook
12732functions cannot use `widen' to gain access to other portions of 12733functions cannot use `widen' to gain access to other portions of
12733buffer text. 12734buffer text.
@@ -12748,7 +12749,8 @@ avoid making Emacs unresponsive while the user types.
12748 12749
12749Note that, when the current buffer contains one or more lines whose 12750Note that, when the current buffer contains one or more lines whose
12750length is above `long-line-threshold', these hook functions are called 12751length is above `long-line-threshold', these hook functions are called
12751with the buffer narrowed to a small portion around point, and the 12752with the buffer narrowed to a small portion around point (whose size
12753is specified by `long-line-locked-narrowing-region-size'), and the
12752narrowing is locked (see `narrow-to-region'), so that these hook 12754narrowing is locked (see `narrow-to-region'), so that these hook
12753functions cannot use `widen' to gain access to other portions of 12755functions cannot use `widen' to gain access to other portions of
12754buffer text. 12756buffer text.
diff --git a/src/xdisp.c b/src/xdisp.c
index 430201874c3..ba105a28055 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -36745,10 +36745,11 @@ fontify a region starting at POS in the current buffer, and give
36745fontified regions the property `fontified' with a non-nil value. 36745fontified regions the property `fontified' with a non-nil value.
36746 36746
36747Note that, when the buffer contains one or more lines whose length is 36747Note that, when the buffer contains one or more lines whose length is
36748above `long-line-threshold', these functions are called with the buffer 36748above `long-line-threshold', these functions are called with the
36749narrowed to a small portion around POS, and the narrowing is locked (see 36749buffer narrowed to a small portion around POS (whose size is specified
36750`narrow-to-region'), so that these functions cannot use `widen' to gain 36750by `long-line-locked-narrowing-region-size'), and the narrowing is
36751access to other portions of buffer text. */); 36751locked (see `narrow-to-region'), so that these functions cannot use
36752`widen' to gain access to other portions of buffer text. */);
36752 Vfontification_functions = Qnil; 36753 Vfontification_functions = Qnil;
36753 Fmake_variable_buffer_local (Qfontification_functions); 36754 Fmake_variable_buffer_local (Qfontification_functions);
36754 36755