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
commitca1ae0fe2abc7f4e8c62b0af27646f67e9cfa490 (patch)
treeaa96c8e792098b8d98fed7a4ebcdf5811dc3b886 /src/frame.c
parenta74c3d65d209e16d3ae661d4cb1af0a536899fd4 (diff)
downloademacs-ca1ae0fe2abc7f4e8c62b0af27646f67e9cfa490.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? */