summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-22 17:58:03 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-22 17:58:03 +0000
commit1fe3648dfb64fe5cc6f59d13757461d3937a5205 (patch)
treeb18f693fce106f7cad29a153c37cb2f9ff4c59d2 /src
parent020db25fa450f1c9b61c90a5c1a7a75489bb2531 (diff)
downloademacs-1fe3648dfb64fe5cc6f59d13757461d3937a5205.tar.gz
(Fdelete_frame): Clear echo_area_glyphs if it was in this frame.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c6
1 files changed, 6 insertions, 0 deletions
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))