]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fdelete_frame): Don't let echo_area_window to remain on a deleted frame.
authorEli Zaretskii <eliz@gnu.org>
Tue, 22 Feb 2000 10:27:05 +0000 (10:27 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 22 Feb 2000 10:27:05 +0000 (10:27 +0000)
src/ChangeLog
src/frame.c

index c3049efe98704546e3553200d5745b826ae8d2a6..1976bbdca94253e440dd70f814da62eb700e3905 100644 (file)
@@ -1,3 +1,8 @@
+2000-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * frame.c (Fdelete_frame): Don't let echo_area_window to remain on
+        a deleted frame.
+
 2000-02-21  Gerd Moellmann  <gerd@gnu.org>
 
        * frame.c (Fmouse_position): GCPRO retval instead of x and y.
index 441449f5705564f6f0d2ec97e7af47198b91a2ff..eb0f752fc0614f01060fe0999bb696bfdf5faeed 100644 (file)
@@ -1222,6 +1222,10 @@ but if the second optional argument FORCE is non-nil, you may do so.")
        Fselect_window (minibuf_window);
     }
 
+  /* Don't let echo_area_window to remain on a deleted frame.  */
+  if (EQ (f->minibuffer_window, echo_area_window))
+    echo_area_window = sf->minibuffer_window;
+
   /* Clear any X selections for this frame.  */
 #ifdef HAVE_X_WINDOWS
   if (FRAME_X_P (f))