Mercurial > emacs
changeset 27800:403b2b833ce2
(Fdelete_frame): Don't let echo_area_window to remain on a deleted frame.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 22 Feb 2000 10:25:24 +0000 |
parents | 121d062f9c4f |
children | 1f07581a92ea |
files | src/frame.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Mon Feb 21 16:19:41 2000 +0000 +++ b/src/frame.c Tue Feb 22 10:25:24 2000 +0000 @@ -1222,6 +1222,10 @@ Fselect_window (minibuf_window); } + /* Don't let echo_area_window to remain on a deleted frame. */ + if (EQ (f->minibuffer_window, echo_area_window)) + echo_area_window = sf->minibuffer_window; + /* Clear any X selections for this frame. */ #ifdef HAVE_X_WINDOWS if (FRAME_X_P (f))