# HG changeset patch # User Richard M. Stallman # Date 761533930 0 # Node ID aaf6fe5d0a540f0ab35b4f4c7aa5658b3f24871a # Parent 040bdc2fec7cb2faabd3a0a3e8525c150426a42b (Fdelete_other_windows): Don't call Frecenter; do it by hand and avoid setting w->force_start. diff -r 040bdc2fec7c -r aaf6fe5d0a54 src/window.c --- a/src/window.c Fri Feb 18 01:01:51 1994 +0000 +++ b/src/window.c Fri Feb 18 01:12:10 1994 +0000 @@ -1342,7 +1342,10 @@ Fset_buffer (w->buffer); opoint = point; SET_PT (marker_position (w->start)); - Frecenter (make_number (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w))))); + /* Like Frecenter but avoid setting w->force_start. */ + Fvertical_motion (make_number (- (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w)))))); + Fset_marker (w->start, make_number (PT), w->buffer); + w->start_at_line_beg = Fbolp (); SET_PT (opoint); set_buffer_internal (obuf);