# HG changeset patch # User Richard M. Stallman # Date 1163007089 0 # Node ID 201aa7c21cab3a18b28e48c0f1e57cb0048eeceb # Parent 0f89186ff97ec85696fda4f8f024f04cfb152b7e (remove-overlays): Call overlay-recenter. diff -r 0f89186ff97e -r 201aa7c21cab lisp/subr.el --- a/lisp/subr.el Wed Nov 08 14:15:23 2006 +0000 +++ b/lisp/subr.el Wed Nov 08 17:31:29 2006 +0000 @@ -1960,6 +1960,8 @@ "Clear BEG and END of overlays whose property NAME has value VAL. Overlays might be moved and/or split. BEG and END default respectively to the beginning and end of buffer." + ;; This speeds up the loops over overlays. + (overlay-recented (point-max)) (unless beg (setq beg (point-min))) (unless end (setq end (point-max))) (if (< end beg)