aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.")
1071 if (NILP (force) && !other_visible_frames (f)) 1071 if (NILP (force) && !other_visible_frames (f))
1072 error ("Attempt to delete the sole visible or iconified frame"); 1072 error ("Attempt to delete the sole visible or iconified frame");
1073 1073
1074#if 0
1075 /* This is a nice idea, but x_connection_closed needs to be able
1076 to delete the last frame, if it is gone. */
1074 if (NILP (XCONS (Vframe_list)->cdr)) 1077 if (NILP (XCONS (Vframe_list)->cdr))
1075 error ("Attempt to delete the only frame"); 1078 error ("Attempt to delete the only frame");
1079#endif
1076 1080
1077 /* Does this frame have a minibuffer, and is it the surrogate 1081 /* Does this frame have a minibuffer, and is it the surrogate
1078 minibuffer for any other frame? */ 1082 minibuffer for any other frame? */