changeset 35891:9160e13c68d2

(Fmove_to_window_line): Don't add 1 if window is vscrolled.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 05 Feb 2001 12:24:00 +0000
parents e468a6f4f414
children 6557a29284df
files src/window.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Mon Feb 05 11:31:52 2001 +0000
+++ b/src/window.c	Mon Feb 05 12:24:00 2001 +0000
@@ -4660,9 +4660,13 @@
 	XSETINT (arg, XINT (arg) + lines);
     }
 
+#if 0 /* I don't understand why this is done.  Among other things,
+         it means that C-u 0 M-r moves to line 1, and C-u -1 M-r
+         moves to the line below the window end.  2000-02-05, gerd */
   if (w->vscroll)
     /* Skip past a partially visible first line.  */
     XSETINT (arg, XINT (arg) + 1);
+#endif
 
   return Fvertical_motion (arg, window);
 }