martin rudalics <[EMAIL PROTECTED]> writes: > On the other hand, doing "(overlay-recenter (point-max))" before > deleting the overlays seems crucial. Apparently, `overlays-in' always > returns a list of overlays in reverse order of their buffer positions. > With the overlay center at bob, unchain_overlay always searches till the > end of overlays_after, hence overhead is inherently quadratic with > respect to the number of overlays in the buffer.
So, if I understand you correctly, the change to make is to replace (remove-overlays nil nil 'face 'whitespace-highlight) (overlay-recenter (point-max)) with (overlay-recenter (point-max)) (remove-overlays nil nil 'face 'whitespace-highlight) Is that right? _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
