From 97dfc68c2ed63b83892aa0acf3ced92ad557a716 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 13 Jun 1994 23:40:33 +0000 Subject: [PATCH] (end-of-buffer): Recenter overlay lists. --- lisp/simple.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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! (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. -- 2.39.5