aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-11-12 19:55:58 +0000
committerRichard M. Stallman2006-11-12 19:55:58 +0000
commitee6bb6939fe507dc98986bfc23794da6110f61ef (patch)
treead7336d13fe0e7400f4b0eb866d89c8b90bad21f
parent9e2f5050bc4da8360c53e740445268f34fc26292 (diff)
downloademacs-ee6bb6939fe507dc98986bfc23794da6110f61ef.tar.gz
emacs-ee6bb6939fe507dc98986bfc23794da6110f61ef.zip
(remove-overlays): Fix last change.
-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."
1961Overlays might be moved and/or split. 1961Overlays might be moved and/or split.
1962BEG and END default respectively to the beginning and end of buffer." 1962BEG and END default respectively to the beginning and end of buffer."
1963 ;; This speeds up the loops over overlays. 1963 ;; This speeds up the loops over overlays.
1964 (overlay-recenter (point-max))
1965 (unless beg (setq beg (point-min))) 1964 (unless beg (setq beg (point-min)))
1966 (unless end (setq end (point-max))) 1965 (unless end (setq end (point-max)))
1966 (overlay-recenter end)
1967 (if (< end beg) 1967 (if (< end beg)
1968 (setq beg (prog1 end (setq end beg)))) 1968 (setq beg (prog1 end (setq end beg))))
1969 (save-excursion 1969 (save-excursion