Commit 90ed3777 authored by Karl Heuer's avatar Karl Heuer
Browse files

(compute_motion): Recenter overlays, for speed.

parent 822b684f
...@@ -486,6 +486,7 @@ compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, ta ...@@ -486,6 +486,7 @@ compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, ta
{ {
Lisp_Object end, limit; Lisp_Object end, limit;
recenter_overlay_lists (current_buffer, pos);
/* This is just an estimate to give reasonable /* This is just an estimate to give reasonable
performance; nothing should go wrong if it is too small. */ performance; nothing should go wrong if it is too small. */
limit = Fnext_overlay_change (position); limit = Fnext_overlay_change (position);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment