diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-22 17:58:03 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-22 17:58:03 +0000 |
commit | 1fe3648dfb64fe5cc6f59d13757461d3937a5205 (patch) | |
tree | b18f693fce106f7cad29a153c37cb2f9ff4c59d2 /src | |
parent | 020db25fa450f1c9b61c90a5c1a7a75489bb2531 (diff) | |
download | emacs-1fe3648dfb64fe5cc6f59d13757461d3937a5205.tar.gz |
(Fdelete_frame): Clear echo_area_glyphs if it was in this frame.
Diffstat (limited to 'src')
-rw-r--r-- | src/frame.c | 6 |
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)) |