summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-11-12 19:55:58 +0000
committerRichard M. Stallman <rms@gnu.org>2006-11-12 19:55:58 +0000
commit52dadeb338c348cc4066ec34e0981f469f5ebe52 (patch)
tree5eee21bf9f69267f08dafa0e4a8c59fe9a402608 /lisp
parenta749f82c8eb0448d7a3681194fb431d30aa0aed7 (diff)
downloademacs-52dadeb338c348cc4066ec34e0981f469f5ebe52.tar.gz
(remove-overlays): Fix last change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 4748b4d8dcb..87ba9d5833e 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1961,9 +1961,9 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
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