Function: window-configuration-to-register

Store the window configuration of the selected frame in register REGISTER.
Use C-x r j to restore the configuration.
Argument is a character, naming the register.