summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-15 05:11:43 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-15 05:11:43 +0000
commitf505bcd511e542de2a96f2a53de14694ce15e879 (patch)
tree2c7f2af9a0f26551a5a26a84439ea56e6803fb4f /src/xdisp.c
parent795ac15299863fe47fc587f71d3c0a8a0e6db14d (diff)
downloademacs-f505bcd511e542de2a96f2a53de14694ce15e879.tar.gz
(redisplay_window): Fix minor bug in Fset_marker call.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
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));