diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-11 15:26:55 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-11 15:26:55 +0000 |
commit | 36e08d6d3e0cf73bebd327d8c05ebe36b2049e6e (patch) | |
tree | b1d182a5f4d21fc5bea40747f7dbe5d4085e8d7b /src/xdisp.c | |
parent | 174bc861c80da5649c28c3104929888b5e15cb07 (diff) | |
download | emacs-36e08d6d3e0cf73bebd327d8c05ebe36b2049e6e.tar.gz |
(redisplay_window): Move w->start marker before
running window-scroll-functions (in scroll_step case).
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |