summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-24 16:57:19 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-24 16:57:19 +0000
commit00c5fd51cdd267801622e6dabc294eb9754a8e4d (patch)
tree09b178eea48f83828b910629794caf9a87175cb3 /src/frame.c
parentef6661f7767c113ab8db7ce6f804ed97023be4bc (diff)
downloademacs-00c5fd51cdd267801622e6dabc294eb9754a8e4d.tar.gz
(Fdelete_frame): Undo previous change.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c4
1 files changed, 4 insertions, 0 deletions
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? */