summaryrefslogtreecommitdiff
path: root/doc/lispref/display.texi
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2022-07-29 10:22:03 +0200
committerGregory Heytings <gregory@heytings.org>2022-07-29 10:22:03 +0200
commitdb03eda6369a9d4af3c72a8ab6ec29e3cc58acc4 (patch)
tree5f75c0186aec7d6cfe023b48d9a116c494009994 /doc/lispref/display.texi
parent77882158b2aeff7f235c409d6572173ae4c3a38f (diff)
parentcdaa3b51f1500ca1d91452037efe68fa0f7808bc (diff)
downloademacs-db03eda6369a9d4af3c72a8ab6ec29e3cc58acc4.tar.gz
Merge branch 'feature/long-lines-and-font-locking'
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 86f490677d1..d2e075c54ec 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3480,6 +3480,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