diff options
| author | Gregory Heytings | 2022-11-26 16:29:52 +0000 |
|---|---|---|
| committer | Gregory Heytings | 2022-11-26 17:30:31 +0100 |
| commit | 4b5e31bf02ab276f1ee1cbe91b016d96bed59d63 (patch) | |
| tree | 9b0d3174b9cebc6f1553d0f8c6f6eac1d48d022f /src | |
| parent | 2ea4f9784730930dbcca90ae5e97216e8a1b2333 (diff) | |
| download | emacs-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.c | 4 | ||||
| -rw-r--r-- | src/keyboard.c | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 9 |
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 | ||
| 5898 | To disable that narrowing, set this variable to 0. | 5898 | To disable that narrowing, set this variable to 0. |
| 5899 | 5899 | ||
| 5900 | See also `long-line-locked-narrowing-bol-search-limit'. | ||
| 5901 | |||
| 5900 | There is no reason to change that value except for debugging purposes. */); | 5902 | There 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 | |||
| 5912 | variable `long-line-locked-narrowing-region-size' specifies the size | 5914 | variable `long-line-locked-narrowing-region-size' specifies the size |
| 5913 | of the narrowed region around point. This variable, which should be a | 5915 | of the narrowed region around point. This variable, which should be a |
| 5914 | small integer, specifies the number of characters by which that region | 5916 | small integer, specifies the number of characters by which that region |
| 5915 | can be extended backwards to start it at the beginning of a line. | 5917 | can be extended backwards to make it start at the beginning of a line. |
| 5916 | 5918 | ||
| 5917 | There is no reason to change that value except for debugging purposes. */); | 5919 | There 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 | ||
| 12728 | Note that, when the current buffer contains one or more lines whose | 12728 | Note that, when the current buffer contains one or more lines whose |
| 12729 | length is above `long-line-threshold', these hook functions are called | 12729 | length is above `long-line-threshold', these hook functions are called |
| 12730 | with the buffer narrowed to a small portion around point, and the | 12730 | with the buffer narrowed to a small portion around point (whose size |
| 12731 | is specified by `long-line-locked-narrowing-region-size'), and the | ||
| 12731 | narrowing is locked (see `narrow-to-region'), so that these hook | 12732 | narrowing is locked (see `narrow-to-region'), so that these hook |
| 12732 | functions cannot use `widen' to gain access to other portions of | 12733 | functions cannot use `widen' to gain access to other portions of |
| 12733 | buffer text. | 12734 | buffer text. |
| @@ -12748,7 +12749,8 @@ avoid making Emacs unresponsive while the user types. | |||
| 12748 | 12749 | ||
| 12749 | Note that, when the current buffer contains one or more lines whose | 12750 | Note that, when the current buffer contains one or more lines whose |
| 12750 | length is above `long-line-threshold', these hook functions are called | 12751 | length is above `long-line-threshold', these hook functions are called |
| 12751 | with the buffer narrowed to a small portion around point, and the | 12752 | with the buffer narrowed to a small portion around point (whose size |
| 12753 | is specified by `long-line-locked-narrowing-region-size'), and the | ||
| 12752 | narrowing is locked (see `narrow-to-region'), so that these hook | 12754 | narrowing is locked (see `narrow-to-region'), so that these hook |
| 12753 | functions cannot use `widen' to gain access to other portions of | 12755 | functions cannot use `widen' to gain access to other portions of |
| 12754 | buffer text. | 12756 | buffer 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 | |||
| 36745 | fontified regions the property `fontified' with a non-nil value. | 36745 | fontified regions the property `fontified' with a non-nil value. |
| 36746 | 36746 | ||
| 36747 | Note that, when the buffer contains one or more lines whose length is | 36747 | Note that, when the buffer contains one or more lines whose length is |
| 36748 | above `long-line-threshold', these functions are called with the buffer | 36748 | above `long-line-threshold', these functions are called with the |
| 36749 | narrowed to a small portion around POS, and the narrowing is locked (see | 36749 | buffer narrowed to a small portion around POS (whose size is specified |
| 36750 | `narrow-to-region'), so that these functions cannot use `widen' to gain | 36750 | by `long-line-locked-narrowing-region-size'), and the narrowing is |
| 36751 | access to other portions of buffer text. */); | 36751 | locked (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 | ||