changeset 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 cf048b490803
children 735f0cdfc5b9
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)
 	{