diff options
| author | Eli Zaretskii | 2013-11-08 12:27:15 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-11-08 12:27:15 +0200 |
| commit | 8acb09ca61fdceb7b3df3456e0833b7ce657ce2b (patch) | |
| tree | 0e273927aa613a30e6d717f3d4fd8753d1c476d4 | |
| parent | 080db47fc48d9558d11b0b4ac9b55dff625802b6 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 17 |
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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-11-05 Eli Zaretskii <eliz@gnu.org> | 6 | 2013-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 | |||
| 214 | over the @code{line-prefix} variable. @xref{Special Properties}. | 214 | over 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 |
| 218 | continuation to display them, computing the continuation lines can | 218 | advisable to set @code{cache-long-scans} to @code{nil}. |
| 219 | make redisplay slow. The column computation and indentation functions | ||
| 220 | also 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 |
| 224 | If this variable is non-@code{nil}, various indentation and motion | 221 | If this variable is non-@code{nil} (the default), various indentation |
| 225 | functions, and Emacs redisplay, cache the results of scanning the | 222 | and motion functions, and Emacs redisplay, cache the results of |
| 226 | buffer, and consult the cache to avoid rescanning regions of the buffer | 223 | scanning the buffer, and consult the cache to avoid rescanning regions |
| 227 | unless they are modified. | 224 | of the buffer unless they are modified. |
| 228 | 225 | ||
| 229 | Turning on the cache slows down processing of short lines somewhat. | 226 | Turning off the cache speeds up processing of short lines somewhat. |
| 230 | 227 | ||
| 231 | This variable is automatically buffer-local in every buffer. | 228 | This variable is automatically buffer-local in every buffer. |
| 232 | @end defvar | 229 | @end defvar |