# HG changeset patch # User Richard M. Stallman # Date 1163361358 0 # Node ID 882d43d66c7113e0a3281bc167d97bf648576a63 # Parent a1e596bbf76d07fc8ea8294f03a444bc3790700a (remove-overlays): Fix last change. diff -r a1e596bbf76d -r 882d43d66c71 lisp/subr.el --- a/lisp/subr.el Sun Nov 12 19:55:10 2006 +0000 +++ b/lisp/subr.el Sun Nov 12 19:55:58 2006 +0000 @@ -1961,9 +1961,9 @@ 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-recenter (point-max)) (unless beg (setq beg (point-min))) (unless end (setq end (point-max))) + (overlay-recenter end) (if (< end beg) (setq beg (prog1 end (setq end beg)))) (save-excursion