aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-10-03 09:09:30 +0000
committerRichard M. Stallman1995-10-03 09:09:30 +0000
commit0a1f771ac2f5f2582470df8480fd2d7db3ec854e (patch)
tree96930f692e0020f949231ef4b3466ff33cf7b5ec /src
parentcce2176a0ad48e106e434072c12adac0736646aa (diff)
downloademacs-0a1f771ac2f5f2582470df8480fd2d7db3ec854e.tar.gz
emacs-0a1f771ac2f5f2582470df8480fd2d7db3ec854e.zip
(window_scroll): Always set force_start.
Diffstat (limited to 'src')
-rw-r--r--src/window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 8dd05a14dc0..1a506767460 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2549,6 +2549,10 @@ window_scroll (window, n, noerror)
2549 int lose; 2549 int lose;
2550 Lisp_Object bolp, nmoved; 2550 Lisp_Object bolp, nmoved;
2551 2551
2552 /* Always set force_start so that redisplay_window will run
2553 thw window-start-functions. */
2554 w->force_start = Qt;
2555
2552 XSETFASTINT (tem, PT); 2556 XSETFASTINT (tem, PT);
2553 tem = Fpos_visible_in_window_p (tem, window); 2557 tem = Fpos_visible_in_window_p (tem, window);
2554 2558
@@ -2557,7 +2561,6 @@ window_scroll (window, n, noerror)
2557 Fvertical_motion (make_number (- (ht / 2)), window); 2561 Fvertical_motion (make_number (- (ht / 2)), window);
2558 XSETFASTINT (tem, PT); 2562 XSETFASTINT (tem, PT);
2559 Fset_marker (w->start, tem, w->buffer); 2563 Fset_marker (w->start, tem, w->buffer);
2560 w->force_start = Qt;
2561 } 2564 }
2562 2565
2563 SET_PT (marker_position (w->start)); 2566 SET_PT (marker_position (w->start));