From: Richard M. Stallman Date: Sun, 22 Jun 1997 17:58:03 +0000 (+0000) Subject: (Fdelete_frame): Clear echo_area_glyphs if it was in this frame. X-Git-Tag: emacs-20.1~1566 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1fe3648dfb64fe5cc6f59d13757461d3937a5205;p=emacs.git (Fdelete_frame): Clear echo_area_glyphs if it was in this frame. --- diff --git a/src/frame.c b/src/frame.c index 22504128d61..3e1e4d9e5f2 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1142,6 +1142,12 @@ but if the second optional argument FORCE is non-nil, you may do so.") Vframe_list = Fdelq (frame, Vframe_list); FRAME_SET_VISIBLE (f, 0); + if (echo_area_glyphs == FRAME_MESSAGE_BUF (f)) + { + echo_area_glyphs = 0; + previous_echo_glyphs = 0; + } + if (f->namebuf) free (f->namebuf); if (FRAME_CURRENT_GLYPHS (f))