aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-01-15 05:11:43 +0000
committerRichard M. Stallman1996-01-15 05:11:43 +0000
commit208aee63758354541787914a6d7aabd918d097d5 (patch)
tree9d9c1b8d23f66d5233cb83c64ef255fd85c7c7d4 /src
parent6aad10e4626eed625284c375e94ef03b282f11e9 (diff)
downloademacs-208aee63758354541787914a6d7aabd918d097d5.tar.gz
emacs-208aee63758354541787914a6d7aabd918d097d5.zip
(redisplay_window): Fix minor bug in Fset_marker call.
Diffstat (limited to 'src')
-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)
1565 } 1565 }
1566 1566
1567 /* Handle case where text has not changed, only point, 1567 /* Handle case where text has not changed, only point,
1568 and it has not moved off the frame */ 1568 and it has not moved off the frame. */
1569 1569
1570 /* This code is not used for minibuffer for the sake of 1570 /* This code is not used for minibuffer for the sake of
1571 the case of redisplaying to replace an echo area message; 1571 the case of redisplaying to replace an echo area message;
@@ -1724,7 +1724,7 @@ recenter:
1724 pos = *vmotion (PT, - (height / 2), w); 1724 pos = *vmotion (PT, - (height / 2), w);
1725 /* Set startp here explicitly in case that helps avoid an infinite loop 1725 /* Set startp here explicitly in case that helps avoid an infinite loop
1726 in case the window-scroll-functions functions get errors. */ 1726 in case the window-scroll-functions functions get errors. */
1727 Fset_marker (w->start, make_number (pos), Qnil); 1727 Fset_marker (w->start, make_number (pos.bufpos), Qnil);
1728 if (! NILP (Vwindow_scroll_functions)) 1728 if (! NILP (Vwindow_scroll_functions))
1729 run_hook_with_args_2 (Qwindow_scroll_functions, window, 1729 run_hook_with_args_2 (Qwindow_scroll_functions, window,
1730 make_number (pos.bufpos)); 1730 make_number (pos.bufpos));