diff src/frame.c @ 18945:7f491075707a

(Fdelete_frame): Undo previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 24 Jul 1997 16:57:19 +0000
parents 52271ad26a1d
children 9dcee56b2966
line wrap: on
line diff
--- a/src/frame.c	Thu Jul 24 16:45:55 1997 +0000
+++ b/src/frame.c	Thu Jul 24 16:57:19 1997 +0000
@@ -1071,8 +1071,12 @@
   if (NILP (force) && !other_visible_frames (f))
     error ("Attempt to delete the sole visible or iconified frame");
 
+#if 0
+  /* This is a nice idea, but x_connection_closed needs to be able
+     to delete the last frame, if it is gone.  */
   if (NILP (XCONS (Vframe_list)->cdr))
     error ("Attempt to delete the only frame");
+#endif
 
   /* Does this frame have a minibuffer, and is it the surrogate
      minibuffer for any other frame?  */