aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-07-29 13:20:38 +0300
committerEli Zaretskii2022-07-29 13:20:38 +0300
commit01ca1c70aec1db6cbd971a419ca20d89bb7a0099 (patch)
tree71f33dcc59026fed4b703b4c67128dc93f504794 /src
parent02b180e955ab0923b5fe2b8f362f1fedb092f760 (diff)
downloademacs-01ca1c70aec1db6cbd971a419ca20d89bb7a0099.tar.gz
emacs-01ca1c70aec1db6cbd971a419ca20d89bb7a0099.zip
; Minor copyedits of documentation related to long-line handling
* src/xdisp.c (syms_of_xdisp) <fontification-functions>: * etc/NEWS: Fix documentation related to long lines. (Bug#56682)
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 2c889586cd6..8a4cca8434b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -36660,10 +36660,10 @@ fontify a region starting at POS in the current buffer, and give
36660fontified regions the property `fontified' with a non-nil value. 36660fontified regions the property `fontified' with a non-nil value.
36661 36661
36662Note that, when the buffer contains one or more lines whose length is 36662Note that, when the buffer contains one or more lines whose length is
36663above `long-line-threshold', these functions only have access to a 36663above `long-line-threshold', these functions are called with the buffer
36664small portion of the buffer around POS, and cannot use `widen' to gain 36664narrowed to a small portion around POS, and the narrowing is locked (see
36665access to other portions of buffer text because the narrowing of the 36665`narrow-to-region'), so that these functions cannot use `widen' to gain
36666buffer is locked (see `narrow-to-region'). */); 36666access to other portions of buffer text. */);
36667 Vfontification_functions = Qnil; 36667 Vfontification_functions = Qnil;
36668 Fmake_variable_buffer_local (Qfontification_functions); 36668 Fmake_variable_buffer_local (Qfontification_functions);
36669 36669