From 36e08d6d3e0cf73bebd327d8c05ebe36b2049e6e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 11 Apr 1996 15:26:55 +0000 Subject: (redisplay_window): Move w->start marker before running window-scroll-functions (in scroll_step case). --- src/xdisp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xdisp.c') diff --git a/src/xdisp.c b/src/xdisp.c index 744fb83c891..79821e4a350 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1749,6 +1749,7 @@ redisplay_window (window, just_this_one, preserve_echo_area) { if (! NILP (Vwindow_scroll_functions)) { + Fset_marker (w->start, make_number (pos.bufpos), Qnil); run_hook_with_args_2 (Qwindow_scroll_functions, window, make_number (pos.bufpos)); pos.bufpos = marker_position (w->start); -- cgit v1.2.1