aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2013-11-08 12:27:15 +0200
committerEli Zaretskii2013-11-08 12:27:15 +0200
commit8acb09ca61fdceb7b3df3456e0833b7ce657ce2b (patch)
tree0e273927aa613a30e6d717f3d4fd8753d1c476d4
parent080db47fc48d9558d11b0b4ac9b55dff625802b6 (diff)
downloademacs-8acb09ca61fdceb7b3df3456e0833b7ce657ce2b.tar.gz
emacs-8acb09ca61fdceb7b3df3456e0833b7ce657ce2b.zip
Documentation followup to last commit.
doc/lispref/display.texi (Truncation): Document that cache-long-scans is now non-nil by default. (Bug#15797)
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi17
2 files changed, 12 insertions, 10 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 9ee30b97523..12830ef884d 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12013-11-08 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Truncation): Document that cache-long-scans is now
4 non-nil by default. (Bug#15797)
5
12013-11-05 Eli Zaretskii <eliz@gnu.org> 62013-11-05 Eli Zaretskii <eliz@gnu.org>
2 7
3 * lists.texi (Rearrangement): Fix indexing. 8 * lists.texi (Rearrangement): Fix indexing.
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index ba25056ded7..eeede08ecd9 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -214,19 +214,16 @@ A line prefix may also be specified for regions of text using the
214over the @code{line-prefix} variable. @xref{Special Properties}. 214over the @code{line-prefix} variable. @xref{Special Properties}.
215@end defvar 215@end defvar
216 216
217 If your buffer contains @emph{very} long lines, and you use 217 If your buffer contains only very short lines, you might find it
218continuation to display them, computing the continuation lines can 218advisable to set @code{cache-long-scans} to @code{nil}.
219make redisplay slow. The column computation and indentation functions
220also become slow. Then you might find it advisable to set
221@code{cache-long-scans} to @code{t}.
222 219
223@defvar cache-long-scans 220@defvar cache-long-scans
224If this variable is non-@code{nil}, various indentation and motion 221If this variable is non-@code{nil} (the default), various indentation
225functions, and Emacs redisplay, cache the results of scanning the 222and motion functions, and Emacs redisplay, cache the results of
226buffer, and consult the cache to avoid rescanning regions of the buffer 223scanning the buffer, and consult the cache to avoid rescanning regions
227unless they are modified. 224of the buffer unless they are modified.
228 225
229Turning on the cache slows down processing of short lines somewhat. 226Turning off the cache speeds up processing of short lines somewhat.
230 227
231This variable is automatically buffer-local in every buffer. 228This variable is automatically buffer-local in every buffer.
232@end defvar 229@end defvar