diff options
author | Karl Heuer <[email protected]> | 1994-08-23 06:55:46 +0000 |
---|---|---|
committer | Karl Heuer <[email protected]> | 1994-08-23 06:55:46 +0000 |
commit | 3d378fdf2331250bacceb806c854468c3989fddc (patch) | |
tree | 1982ec469b60794ad5618fde7e38ce89e13d2a58 /src/frame.c | |
parent | 1ee245eb301a0bd764e2e86ed913394b2ef70c77 (diff) |
(Fmake_frame_invisible, Ficonify_frame): Don't switch frames.
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 74ee07b75c..35007249dd 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1112,9 +1112,11 @@ but if the second optional argument FORCE is non-nil, you may do so.") if (NILP (force) && !other_visible_frames (XFRAME (frame))) error ("Attempt to make invisible the sole visible or iconified frame"); +#if 0 /* This isn't logically necessary, and it can do GC. */ /* Don't let the frame remain selected. */ if (XFRAME (frame) == selected_frame) Fhandle_switch_frame (next_frame (frame, Qt), Qnil); +#endif /* Don't allow minibuf_window to remain on a deleted frame. */ if (EQ (XFRAME (frame)->minibuffer_window, minibuf_window)) @@ -1148,9 +1150,11 @@ If omitted, FRAME defaults to the currently selected frame.") CHECK_LIVE_FRAME (frame, 0); +#if 0 /* This isn't logically necessary, and it can do GC. */ /* Don't let the frame remain selected. */ if (XFRAME (frame) == selected_frame) Fhandle_switch_frame (next_frame (frame, Qt), Qnil); +#endif /* Don't allow minibuf_window to remain on a deleted frame. */ if (EQ (XFRAME (frame)->minibuffer_window, minibuf_window)) |