From: Richard M. Stallman Date: Thu, 24 Jul 1997 16:57:19 +0000 (+0000) Subject: (Fdelete_frame): Undo previous change. X-Git-Tag: emacs-20.1~1001 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00c5fd51cdd267801622e6dabc294eb9754a8e4d;p=emacs.git (Fdelete_frame): Undo previous change. --- diff --git a/src/frame.c b/src/frame.c index 46cd1fc69dc..bb0cfd48f89 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1071,8 +1071,12 @@ but if the second optional argument FORCE is non-nil, you may do so.") 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? */