summaryrefslogtreecommitdiff
path: root/doc/lispref/display.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-07-29 10:08:50 +0300
committerEli Zaretskii <eliz@gnu.org>2022-07-29 10:08:50 +0300
commitc6029ed34ea83c7c0adbd723d63bd78ff0ec0796 (patch)
tree6d7313ce717dcb5e1eddb897b6b6120bd313765d /doc/lispref/display.texi
parent67a218d33926931b20096edce3eaba2958283bde (diff)
downloademacs-c6029ed34ea83c7c0adbd723d63bd78ff0ec0796.tar.gz
emacs-c6029ed34ea83c7c0adbd723d63bd78ff0ec0796.tar.bz2
emacs-c6029ed34ea83c7c0adbd723d63bd78ff0ec0796.zip
Minor improvements of recent documentation changes
* src/editfns.c (Fwiden): * doc/lispref/display.texi (Auto Faces): * src/xdisp.c (syms_of_xdisp) <fontification-functions>: * etc/NEWS: Clarify and improve wording of documentation changes.
Diffstat (limited to 'doc/lispref/display.texi')
-rw-r--r--doc/lispref/display.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 08bf7441df0..f5fb0aaee70 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3479,6 +3479,12 @@ function finishes are the ones that really matter.
For efficiency, we recommend writing these functions so that they
usually assign faces to around 400 to 600 characters at each call.
+
+When the buffer text includes very long lines, these functions are
+called with the buffer narrowed to a relatively small region around
+@var{pos}, and with narrowing locked, so the functions cannot use
+@code{widen} to gain access to the rest of the buffer.
+@xref{Narrowing}.
@end defvar
@node Basic Faces