Mercurial > emacs
diff lisp/subr.el @ 73829:201aa7c21cab
(remove-overlays): Call overlay-recenter.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 08 Nov 2006 17:31:29 +0000 |
parents | 3f351640d09f |
children | b3f1247fc5c6 |
line wrap: on
line diff
--- 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)