summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-06-17 20:03:18 +0000
committerKarl Heuer <kwzh@gnu.org>1994-06-17 20:03:18 +0000
commit68fa935da22e9119245764c20277d94041221bc2 (patch)
tree9e9ebe3a9f35f3463cb2655468252f278b430d1e /src/indent.c
parent6c0d56c96ce90ac51f6394d2ad99136f012da593 (diff)
downloademacs-68fa935da22e9119245764c20277d94041221bc2.tar.gz
(compute_motion): Recenter overlays, for speed.
Diffstat (limited to 'src/indent.c')
-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
{
Lisp_Object end, limit;
+ recenter_overlay_lists (current_buffer, pos);
/* This is just an estimate to give reasonable
performance; nothing should go wrong if it is too small. */
limit = Fnext_overlay_change (position);