Function: zone--save-frame-configuration

zone--save-frame-configuration is a byte-compiled function defined in zone.el.gz.

Signature

(zone--save-frame-configuration FRM &optional RESET)

Documentation

Save the frame FRM's configuration.

When RESET is non-nil, the zone-frame-configuration-alist will contain this frame only, otherwise the frame's configuration will be appended to the Alist.

Source Code

;; Defined in /usr/src/emacs/lisp/play/zone.el.gz
(defun zone--save-frame-configuration (frm &optional reset)
  "Save the frame FRM's configuration.

When RESET is non-nil, the `zone-frame-configuration-alist' will contain
this frame only, otherwise the frame's configuration will be appended to
the Alist."
  (when reset
    (setq zone-frame-configuration-alist nil))
  (when (frame-visible-p frm)
    (push (cons frm
                (cons
                 (current-window-configuration frm)
                 (frame-parameter frm 'cursor-type)))
          zone-frame-configuration-alist)))