diff options
| author | Richard M. Stallman | 1994-06-13 23:40:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-13 23:40:33 +0000 |
| commit | 97dfc68c2ed63b83892aa0acf3ced92ad557a716 (patch) | |
| tree | 2d044895d19f5a37820f6183917a329fbc9fd200 | |
| parent | e7601974b01313142586cc665d42c5db83782681 (diff) | |
| download | emacs-97dfc68c2ed63b83892aa0acf3ced92ad557a716.tar.gz emacs-97dfc68c2ed63b83892aa0acf3ced92ad557a716.zip | |
(end-of-buffer): Recenter overlay lists.
| -rw-r--r-- | lisp/simple.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 484b217c5fa..6dbfccad589 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -289,7 +289,9 @@ Don't use this command in Lisp programs! | |||
| 289 | (goto-char (window-start)) | 289 | (goto-char (window-start)) |
| 290 | (vertical-motion (window-height)) | 290 | (vertical-motion (window-height)) |
| 291 | (< (point) old-point))) | 291 | (< (point) old-point))) |
| 292 | (recenter -3)))) | 292 | (progn |
| 293 | (overlay-recenter (point)) | ||
| 294 | (recenter -3))))) | ||
| 293 | 295 | ||
| 294 | (defun mark-whole-buffer () | 296 | (defun mark-whole-buffer () |
| 295 | "Put point at beginning and mark at end of buffer. | 297 | "Put point at beginning and mark at end of buffer. |