GNU Emacs Lisp Reference Manual
26.12: Frame Configurations
A frame configuration records the current arrangement of frames, all their properties, and the window configuration of each one.
- Function: current-frame-configuration
- This function returns a frame configuration list that describes the current arrangement of frames and their contents.
- Function: set-frame-configuration configuration
- This function restores the state of frames described in configuration.