changeset 14178:4c8fdbefbb58

(redisplay_window): Fix minor bug in Fset_marker call.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Jan 1996 05:11:43 +0000
parents a4462b0f31f2
children 7db5b89b78b6
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Jan 15 05:11:07 1996 +0000
+++ b/src/xdisp.c	Mon Jan 15 05:11:43 1996 +0000
@@ -1565,7 +1565,7 @@
     }
 
   /* 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 @@
   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));