From 4a0f786c4908e37175a1578d54e21d0c21f44b63 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 11 Apr 1996 15:26:55 +0000 Subject: [PATCH] (redisplay_window): Move w->start marker before running window-scroll-functions (in scroll_step case). --- src/xdisp.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2