diff options
| author | Richard M. Stallman | 2006-11-08 17:31:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-11-08 17:31:46 +0000 |
| commit | d6f5ac1084e4223c88bf060d7e7033ee0d49b008 (patch) | |
| tree | 1a8bb41a431446c0b58ee08b829b89daf2049d0e | |
| parent | 7a309c4ba604a2f9b6864c531794cec106a1a5c7 (diff) | |
| download | emacs-d6f5ac1084e4223c88bf060d7e7033ee0d49b008.tar.gz emacs-d6f5ac1084e4223c88bf060d7e7033ee0d49b008.zip | |
(remove-overlays): Call overlay-recenter.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 85b188ff581..c64546ee6cc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-11-08 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * subr.el (remove-overlays): Call overlay-recenter. | ||
| 4 | |||
| 1 | 2006-11-08 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | 2006-11-08 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 2 | 6 | ||
| 3 | * printing.el (pr-alist-custom-set, pr-ps-utility-custom-set) | 7 | * printing.el (pr-alist-custom-set, pr-ps-utility-custom-set) |
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." | |||
| 1960 | "Clear BEG and END of overlays whose property NAME has value VAL. | 1960 | "Clear BEG and END of overlays whose property NAME has value VAL. |
| 1961 | Overlays might be moved and/or split. | 1961 | Overlays might be moved and/or split. |
| 1962 | BEG and END default respectively to the beginning and end of buffer." | 1962 | BEG and END default respectively to the beginning and end of buffer." |
| 1963 | ;; This speeds up the loops over overlays. | ||
| 1964 | (overlay-recented (point-max)) | ||
| 1963 | (unless beg (setq beg (point-min))) | 1965 | (unless beg (setq beg (point-min))) |
| 1964 | (unless end (setq end (point-max))) | 1966 | (unless end (setq end (point-max))) |
| 1965 | (if (< end beg) | 1967 | (if (< end beg) |