(Fdelete_frame): Clear echo_area_glyphs if it was in this frame.
authorRichard M. Stallman <rms@gnu.org>
Sun, 22 Jun 1997 17:58:03 +0000 (17:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 22 Jun 1997 17:58:03 +0000 (17:58 +0000)
src/frame.c

index 2250412..3e1e4d9 100644 (file)
@@ -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))