Mercurial > emacs
diff src/frame.c @ 18380:d515bf202434
(Fdelete_frame): Clear echo_area_glyphs if it was in this frame.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 22 Jun 1997 17:58:03 +0000 |
parents | c39f34ef5d76 |
children | 52271ad26a1d |
line wrap: on
line diff
--- a/src/frame.c Sun Jun 22 09:16:07 1997 +0000 +++ b/src/frame.c Sun Jun 22 17:58:03 1997 +0000 @@ -1142,6 +1142,12 @@ 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))