changeset 7877:0eb805c768af

(end-of-buffer): Recenter overlay lists.
author Richard M. Stallman <rms@gnu.org>
date Mon, 13 Jun 1994 23:40:33 +0000
parents bffe692e2844
children 546334ab3974
files lisp/simple.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Mon Jun 13 23:27:44 1994 +0000
+++ b/lisp/simple.el	Mon Jun 13 23:40:33 1994 +0000
@@ -289,7 +289,9 @@
 		    (goto-char (window-start))
 		    (vertical-motion (window-height))
 		    (< (point) old-point)))
-	(recenter -3))))
+	(progn
+	  (overlay-recenter (point))
+	  (recenter -3)))))
 
 (defun mark-whole-buffer ()
   "Put point at beginning and mark at end of buffer.