Mercurial > emacs
changeset 5988:aaf6fe5d0a54
(Fdelete_other_windows): Don't call Frecenter;
do it by hand and avoid setting w->force_start.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 18 Feb 1994 01:12:10 +0000 |
parents | 040bdc2fec7c |
children | 0b529dfd88c3 |
files | src/window.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);