aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-22 17:58:03 +0000
committerRichard M. Stallman1997-06-22 17:58:03 +0000
commit1fe3648dfb64fe5cc6f59d13757461d3937a5205 (patch)
treeb18f693fce106f7cad29a153c37cb2f9ff4c59d2 /src
parent020db25fa450f1c9b61c90a5c1a7a75489bb2531 (diff)
downloademacs-1fe3648dfb64fe5cc6f59d13757461d3937a5205.tar.gz
emacs-1fe3648dfb64fe5cc6f59d13757461d3937a5205.zip
(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.")
1142 Vframe_list = Fdelq (frame, Vframe_list); 1142 Vframe_list = Fdelq (frame, Vframe_list);
1143 FRAME_SET_VISIBLE (f, 0); 1143 FRAME_SET_VISIBLE (f, 0);
1144 1144
1145 if (echo_area_glyphs == FRAME_MESSAGE_BUF (f))
1146 {
1147 echo_area_glyphs = 0;
1148 previous_echo_glyphs = 0;
1149 }
1150
1145 if (f->namebuf) 1151 if (f->namebuf)
1146 free (f->namebuf); 1152 free (f->namebuf);
1147 if (FRAME_CURRENT_GLYPHS (f)) 1153 if (FRAME_CURRENT_GLYPHS (f))