From: Eli Zaretskii Date: Fri, 8 Nov 2013 10:27:15 +0000 (+0200) Subject: Documentation followup to last commit. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~897 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8acb09ca61fdceb7b3df3456e0833b7ce657ce2b;p=emacs.git Documentation followup to last commit. doc/lispref/display.texi (Truncation): Document that cache-long-scans is now non-nil by default. (Bug#15797) --- 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 @@ +2013-11-08 Eli Zaretskii + + * display.texi (Truncation): Document that cache-long-scans is now + non-nil by default. (Bug#15797) + 2013-11-05 Eli Zaretskii * 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 over the @code{line-prefix} variable. @xref{Special Properties}. @end defvar - If your buffer contains @emph{very} long lines, and you use -continuation to display them, computing the continuation lines can -make redisplay slow. The column computation and indentation functions -also become slow. Then you might find it advisable to set -@code{cache-long-scans} to @code{t}. + If your buffer contains only very short lines, you might find it +advisable to set @code{cache-long-scans} to @code{nil}. @defvar cache-long-scans -If this variable is non-@code{nil}, various indentation and motion -functions, and Emacs redisplay, cache the results of scanning the -buffer, and consult the cache to avoid rescanning regions of the buffer -unless they are modified. +If this variable is non-@code{nil} (the default), various indentation +and motion functions, and Emacs redisplay, cache the results of +scanning the buffer, and consult the cache to avoid rescanning regions +of the buffer unless they are modified. -Turning on the cache slows down processing of short lines somewhat. +Turning off the cache speeds up processing of short lines somewhat. This variable is automatically buffer-local in every buffer. @end defvar