Mercurial > emacs
comparison src/window.c @ 9624:48854151266c
(Fdisplay_buffer): Make old_selected_window a Lisp_Object.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 20 Oct 1994 19:11:29 +0000 |
parents | e466cdfd962e |
children | 20d9e38be33f |
comparison
equal
deleted
inserted
replaced
9623:fe1c170fa35a | 9624:48854151266c |
---|---|
1986 /* Check that OTHER and WINDOW are vertically arrayed. */ | 1986 /* Check that OTHER and WINDOW are vertically arrayed. */ |
1987 && XWINDOW (other)->top != XWINDOW (window)->top | 1987 && XWINDOW (other)->top != XWINDOW (window)->top |
1988 && XWINDOW (other)->height > XWINDOW (window)->height) | 1988 && XWINDOW (other)->height > XWINDOW (window)->height) |
1989 { | 1989 { |
1990 int total = XWINDOW (other)->height + XWINDOW (window)->height; | 1990 int total = XWINDOW (other)->height + XWINDOW (window)->height; |
1991 struct window *old_selected_window = selected_window; | 1991 Lisp_Object old_selected_window; |
1992 | 1992 old_selected_window = selected_window; |
1993 selected_window = XWINDOW (upper); | 1993 |
1994 selected_window = upper; | |
1994 change_window_height (total / 2 - XWINDOW (upper)->height, 0); | 1995 change_window_height (total / 2 - XWINDOW (upper)->height, 0); |
1995 selected_window = old_selected_window; | 1996 selected_window = old_selected_window; |
1996 } | 1997 } |
1997 } | 1998 } |
1998 } | 1999 } |