1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

(remove-overlays): Call overlay-recenter.

This commit is contained in:
Richard M. Stallman 2006-11-08 17:31:46 +00:00
parent 7a309c4ba6
commit d6f5ac1084
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-11-08 Richard Stallman <rms@gnu.org>
* subr.el (remove-overlays): Call overlay-recenter.
2006-11-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* printing.el (pr-alist-custom-set, pr-ps-utility-custom-set)

View File

@ -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)