changeset 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 1dd6f63f0ea3
children d7ba4cdf0e37
files src/frame.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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))