Mercurial > emacs
comparison src/frame.c @ 18945:7f491075707a
(Fdelete_frame): Undo previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 24 Jul 1997 16:57:19 +0000 |
parents | 52271ad26a1d |
children | 9dcee56b2966 |
comparison
equal
deleted
inserted
replaced
18944:e7a1ad118598 | 18945:7f491075707a |
---|---|
1069 return Qnil; | 1069 return Qnil; |
1070 | 1070 |
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? */ |
1079 if (FRAME_HAS_MINIBUF_P (XFRAME (frame))) | 1083 if (FRAME_HAS_MINIBUF_P (XFRAME (frame))) |
1080 { | 1084 { |