Mercurial > emacs
changeset 14027:4192181eb814
(replace_buffer_in_all_windows): Only re-select old
window if it is still live.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 05 Jan 1996 02:42:32 +0000 |
parents | 34049404937e |
children | e8d6c760f796 |
files | src/window.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Fri Jan 05 02:36:06 1996 +0000 +++ b/src/window.c Fri Jan 05 02:42:32 1996 +0000 @@ -1649,7 +1649,8 @@ window_loop (UNSHOW_BUFFER, buffer, 0, frame); } - Fselect_window (old_selected); + if (!NILP (Fwindow_live_p (old_selected))) + Fselect_window (old_selected); #else window_loop (UNSHOW_BUFFER, buffer, 0, Qt); #endif