A frame configuration records the current arrangement of frames, all their properties, and the window configuration of each one. (See Window Configurations.)
This function returns a frame configuration list that describes the current arrangement of frames and their contents.
set-frame-configurationconfiguration &optional nodelete
This function restores the state of frames described in configuration. However, this function does not restore deleted frames.
Ordinarily, this function deletes all existing frames not listed in
configuration. But if nodelete is non-
unwanted frames are iconified instead.