From 00c5fd51cdd267801622e6dabc294eb9754a8e4d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 24 Jul 1997 16:57:19 +0000 Subject: (Fdelete_frame): Undo previous change. --- src/frame.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/frame.c') 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? */ -- cgit v1.2.1