aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2014-02-05 20:27:26 -0800
committerGlenn Morris2014-02-05 20:27:26 -0800
commit314ffdb1d7dfe361462be949ae953334e1aa5977 (patch)
tree8d17995822006d1989f529b490c1401fcdd10fb0 /src
parentb3a271a56ca3f7f9b137f2ae502c6cf86b1097b7 (diff)
downloademacs-314ffdb1d7dfe361462be949ae953334e1aa5977.tar.gz
emacs-314ffdb1d7dfe361462be949ae953334e1aa5977.zip
Doc changes for cache-long-scans
Ref: http://debbugs.gnu.org/15797#65 * doc/lispref/display.texi (Truncation): * doc/lispref/positions.texi (Screen Lines): Do not mention cache-long-scans. * src/buffer.c (cache-long-scans): Doc fix. * etc/NEWS: Related edit.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/buffer.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2df6c99edc1..925cb4625a2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12014-02-06 Glenn Morris <rgm@gnu.org>
2
3 * buffer.c (cache-long-scans): Doc fix.
4
12014-02-05 Eli Zaretskii <eliz@gnu.org> 52014-02-05 Eli Zaretskii <eliz@gnu.org>
2 6
3 * w32fns.c (Fw32_shell_execute): Doc fix. 7 * w32fns.c (Fw32_shell_execute): Doc fix.
diff --git a/src/buffer.c b/src/buffer.c
index 33bd80d3f4f..cbf7291e3c8 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -6130,6 +6130,8 @@ If the value of the variable is t, undo information is not recorded. */);
6130 DEFVAR_PER_BUFFER ("cache-long-scans", &BVAR (current_buffer, cache_long_scans), Qnil, 6130 DEFVAR_PER_BUFFER ("cache-long-scans", &BVAR (current_buffer, cache_long_scans), Qnil,
6131 doc: /* Non-nil means that Emacs should use caches in attempt to speedup buffer scans. 6131 doc: /* Non-nil means that Emacs should use caches in attempt to speedup buffer scans.
6132 6132
6133There is no reason to set this to nil except for debugging purposes.
6134
6133Normally, the line-motion functions work by scanning the buffer for 6135Normally, the line-motion functions work by scanning the buffer for
6134newlines. Columnar operations (like `move-to-column' and 6136newlines. Columnar operations (like `move-to-column' and
6135`compute-motion') also work by scanning the buffer, summing character 6137`compute-motion') also work by scanning the buffer, summing character