(compute_motion): Recenter overlays, for speed.
authorKarl Heuer <kwzh@gnu.org>
Fri, 17 Jun 1994 20:03:18 +0000 (20:03 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 17 Jun 1994 20:03:18 +0000 (20:03 +0000)
src/indent.c

index a2233dd..f1a12fe 100644 (file)
@@ -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);