aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-02-18 01:12:10 +0000
committerRichard M. Stallman1994-02-18 01:12:10 +0000
commit4f2eb61d72e59ab048c1bc9349f6ce1e50196944 (patch)
treee663a37d3ddaebfc3e1d1cb7f05c4a38c565a686 /src
parentdf5a440b3b364a88371fcb2e91135faa8b7db3e1 (diff)
downloademacs-4f2eb61d72e59ab048c1bc9349f6ce1e50196944.tar.gz
emacs-4f2eb61d72e59ab048c1bc9349f6ce1e50196944.zip
(Fdelete_other_windows): Don't call Frecenter;
do it by hand and avoid setting w->force_start.
Diffstat (limited to 'src')
-rw-r--r--src/window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 21ebafd4550..bee5e9aae98 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1342,7 +1342,10 @@ value is reasonable when this function is called.")
1342 Fset_buffer (w->buffer); 1342 Fset_buffer (w->buffer);
1343 opoint = point; 1343 opoint = point;
1344 SET_PT (marker_position (w->start)); 1344 SET_PT (marker_position (w->start));
1345 Frecenter (make_number (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w))))); 1345 /* Like Frecenter but avoid setting w->force_start. */
1346 Fvertical_motion (make_number (- (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w))))));
1347 Fset_marker (w->start, make_number (PT), w->buffer);
1348 w->start_at_line_beg = Fbolp ();
1346 1349
1347 SET_PT (opoint); 1350 SET_PT (opoint);
1348 set_buffer_internal (obuf); 1351 set_buffer_internal (obuf);