From 919f28126bbc0b115f093bfedfb7e4f8ef30bbbc Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 10 Oct 2001 11:55:39 +0000 Subject: [PATCH] (end-of-buffer): Fix code scrolling specially for the buffer end. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index bf86112ce55..ea0d3ce27de 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -412,7 +412,7 @@ Don't use this command in Lisp programs! ;; If we went to a place in the middle of the buffer, ;; adjust it to the beginning of a line. (cond (arg (forward-line 1)) - ((< (point) (window-end nil t)) + ((> (point) (window-end nil t)) ;; If the end of the buffer is not already on the screen, ;; then scroll specially to put it near, but not at, the bottom. (overlay-recenter (point)) -- 2.39.2