diff options
| author | Karl Heuer | 1994-10-20 19:11:29 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-20 19:11:29 +0000 |
| commit | 8d77c0c832139c0677b104e68d74d1a057f410fe (patch) | |
| tree | 3d2f4302f448d879df726d2bf144cf1c59aa8f92 /src | |
| parent | bf7d4561c1a9a4885de5c61defb9bc844072bb67 (diff) | |
| download | emacs-8d77c0c832139c0677b104e68d74d1a057f410fe.tar.gz emacs-8d77c0c832139c0677b104e68d74d1a057f410fe.zip | |
(Fdisplay_buffer): Make old_selected_window a Lisp_Object.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 96588a8623d..04f0eca3d99 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1988,9 +1988,10 @@ Returns the window displaying BUFFER.") | |||
| 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 | old_selected_window = selected_window; | ||
| 1992 | 1993 | ||
| 1993 | selected_window = XWINDOW (upper); | 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 | } |