]> git.eshelyaron.com Git - emacs.git/commitdiff
(redisplay_window): Move w->start marker before
authorRichard M. Stallman <rms@gnu.org>
Thu, 11 Apr 1996 15:26:55 +0000 (15:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 11 Apr 1996 15:26:55 +0000 (15:26 +0000)
running window-scroll-functions (in scroll_step case).

src/xdisp.c

index 744fb83c89134f046be85f63e58b60d219ac2480..79821e4a350bbbaaeb2272d8f2271ceb7326ea6b 100644 (file)
@@ -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);