aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-24 16:57:19 +0000
committerRichard M. Stallman1997-07-24 16:57:19 +0000
commit00c5fd51cdd267801622e6dabc294eb9754a8e4d (patch)
tree09b178eea48f83828b910629794caf9a87175cb3 /src
parentef6661f7767c113ab8db7ce6f804ed97023be4bc (diff)
downloademacs-00c5fd51cdd267801622e6dabc294eb9754a8e4d.tar.gz
emacs-00c5fd51cdd267801622e6dabc294eb9754a8e4d.zip
(Fdelete_frame): Undo previous change.
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? */