diff lisp/simple.el @ 39743:b6933b0f1ef2

(end-of-buffer): Fix code scrolling specially for the buffer end.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 10 Oct 2001 11:55:39 +0000
parents 309d26eb8616
children a292df89e830
line wrap: on
line diff
--- a/lisp/simple.el	Wed Oct 10 09:43:20 2001 +0000
+++ b/lisp/simple.el	Wed Oct 10 11:55:39 2001 +0000
@@ -412,7 +412,7 @@
   ;; 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))