From: Karl Heuer Date: Wed, 15 Oct 1997 22:18:37 +0000 (+0000) Subject: (window_scroll): When scrolling forward and point is X-Git-Tag: emacs-20.3~3027 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=335406fc22134b33f3982486cb9954823ce321ca;p=emacs.git (window_scroll): When scrolling forward and point is inside the scroll margin put point at bottom of it, not at window start. --- diff --git a/src/window.c b/src/window.c index 8d63612a05b..c5360a886bb 100644 --- a/src/window.c +++ b/src/window.c @@ -2850,7 +2850,7 @@ window_scroll (window, n, whole, noerror) Fvertical_motion (make_number (original_vpos), window); } else - SET_PT (pos); + SET_PT (top_margin); } else if (n < 0) {