diff src/window.c @ 20046:8baac8399a29

(window_scroll): When scrolling forward and point is inside the scroll margin put point at bottom of it, not at window start.
author Karl Heuer <kwzh@gnu.org>
date Wed, 15 Oct 1997 22:18:37 +0000
parents 0651874195c7
children affc9c857428
line wrap: on
line diff
--- a/src/window.c	Wed Oct 15 17:18:11 1997 +0000
+++ b/src/window.c	Wed Oct 15 22:18:37 1997 +0000
@@ -2850,7 +2850,7 @@
 	      Fvertical_motion (make_number (original_vpos), window);
 	    }
 	  else
-	    SET_PT (pos);
+	    SET_PT (top_margin);
 	}
       else if (n < 0)
 	{