aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-06-17 20:03:18 +0000
committerKarl Heuer1994-06-17 20:03:18 +0000
commit90ed3777fc538d90055770f0e5cd42d9702939de (patch)
treeb8e721d2bb89da62e6c0e80f0db1718d0cbd64fa
parent822b684f835b21601550f68016d783535a0932b3 (diff)
downloademacs-90ed3777fc538d90055770f0e5cd42d9702939de.tar.gz
emacs-90ed3777fc538d90055770f0e5cd42d9702939de.zip
(compute_motion): Recenter overlays, for speed.
-rw-r--r--src/indent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indent.c b/src/indent.c
index a2233dd3c90..f1a12fe240c 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -486,6 +486,7 @@ compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, ta
486 { 486 {
487 Lisp_Object end, limit; 487 Lisp_Object end, limit;
488 488
489 recenter_overlay_lists (current_buffer, pos);
489 /* This is just an estimate to give reasonable 490 /* This is just an estimate to give reasonable
490 performance; nothing should go wrong if it is too small. */ 491 performance; nothing should go wrong if it is too small. */
491 limit = Fnext_overlay_change (position); 492 limit = Fnext_overlay_change (position);