changeset 13102:960db92441d8

(window_scroll): Always set force_start.
author Richard M. Stallman <rms@gnu.org>
date Tue, 03 Oct 1995 09:09:30 +0000
parents 32381faf1489
children a537b52d6668
files src/window.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sun Oct 01 21:31:09 1995 +0000
+++ b/src/window.c	Tue Oct 03 09:09:30 1995 +0000
@@ -2549,6 +2549,10 @@
   int lose;
   Lisp_Object bolp, nmoved;
 
+  /* Always set force_start so that redisplay_window will run
+     thw window-start-functions.  */
+  w->force_start = Qt;
+
   XSETFASTINT (tem, PT);
   tem = Fpos_visible_in_window_p (tem, window);
 
@@ -2557,7 +2561,6 @@
       Fvertical_motion (make_number (- (ht / 2)), window);
       XSETFASTINT (tem, PT);
       Fset_marker (w->start, tem, w->buffer);
-      w->force_start = Qt;
     }
 
   SET_PT (marker_position (w->start));