window--dump-window
window--dump-window is a compiled Lisp function in `window.el
'.
(window--dump-window &optional WINDOW ERASE)
Dump WINDOW to buffer *window-frame-dump*.
WINDOW must be a valid window and defaults to the selected one.
Optional argument ERASE non-nil means erase *window-frame-dump*
before writing to it.