Mercurial > emacs
changeset 73943:882d43d66c71
(remove-overlays): Fix last change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 12 Nov 2006 19:55:58 +0000 |
parents | a1e596bbf76d |
children | dba240f0d108 |
files | lisp/subr.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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