changeset 14988:c833cd83414c

(redisplay_window): Move w->start marker before running window-scroll-functions (in scroll_step case).
author Richard M. Stallman <rms@gnu.org>
date Thu, 11 Apr 1996 15:26:55 +0000
parents 5457cf99d7e1
children 7bba84af4b94
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Apr 11 14:45:09 1996 +0000
+++ b/src/xdisp.c	Thu Apr 11 15:26:55 1996 +0000
@@ -1749,6 +1749,7 @@
 	{
 	  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);