From: Richard M. Stallman Date: Mon, 15 Jan 1996 05:11:43 +0000 (+0000) Subject: (redisplay_window): Fix minor bug in Fset_marker call. X-Git-Tag: emacs-19.34~1682 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=208aee63758354541787914a6d7aabd918d097d5;p=emacs.git (redisplay_window): Fix minor bug in Fset_marker call. --- diff --git a/src/xdisp.c b/src/xdisp.c index 655d1d90c06..6ebb01800e6 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1565,7 +1565,7 @@ redisplay_window (window, just_this_one) } /* Handle case where text has not changed, only point, - and it has not moved off the frame */ + and it has not moved off the frame. */ /* This code is not used for minibuffer for the sake of the case of redisplaying to replace an echo area message; @@ -1724,7 +1724,7 @@ recenter: pos = *vmotion (PT, - (height / 2), w); /* Set startp here explicitly in case that helps avoid an infinite loop in case the window-scroll-functions functions get errors. */ - Fset_marker (w->start, make_number (pos), Qnil); + Fset_marker (w->start, make_number (pos.bufpos), Qnil); if (! NILP (Vwindow_scroll_functions)) run_hook_with_args_2 (Qwindow_scroll_functions, window, make_number (pos.bufpos));