diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-11-08 17:31:29 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-11-08 17:31:29 +0000 |
commit | 9716c98b88336618d88a27c8f7f294266983bbfb (patch) | |
tree | 4997f11a32d332fd2ff921ff8afd310dc4f6e04a /lisp/subr.el | |
parent | be00b13ac04f15515ae91f0358fc12612cdd35c4 (diff) | |
download | emacs-9716c98b88336618d88a27c8f7f294266983bbfb.tar.gz |
(remove-overlays): Call overlay-recenter.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index cf09264e4b1..3fcdaaab753 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1960,6 +1960,8 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there." "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) |