From 1fe3648dfb64fe5cc6f59d13757461d3937a5205 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 Jun 1997 17:58:03 +0000 Subject: [PATCH] (Fdelete_frame): Clear echo_area_glyphs if it was in this frame. --- src/frame.c | 6 ++++++ 1 file changed, 6 insertions(+) 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)) -- 2.39.5