Function: frame-configuration-to-register
frame-configuration-to-register is an interactive and byte-compiled
function defined in register.el.gz.
This command is obsolete since 24.4; use frameset-to-register
instead.
Signature
(frame-configuration-to-register REGISTER)
Documentation
Store the window configurations of all frames in REGISTER.
(This window configuration is also known as "frameset").
Use C-x r j (jump-to-register) to restore the configuration.
Argument is a character, the name of the register.
Interactively, prompt for REGISTER using register-read-with-preview.
Probably introduced at or before Emacs version 19.20.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/register.el.gz
(defun frame-configuration-to-register (register &optional _arg)
"Store the window configurations of all frames in REGISTER.
\(This window configuration is also known as \"frameset\").
Use \\[jump-to-register] to restore the configuration.
Argument is a character, the name of the register.
Interactively, prompt for REGISTER using `register-read-with-preview'."
(interactive (list (register-read-with-preview
"Frame configuration to register: ")
current-prefix-arg))
;; current-frame-configuration does not include the value
;; of point in the current buffer, so record that separately.
(set-register register (list (current-frame-configuration) (point-marker))))