Function: current-frame-configuration

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

Signature

(current-frame-configuration)

Documentation

Return a list describing the positions and states of all frames.

Its car is frame-configuration. Each element of the cdr is a list of the form (FRAME ALIST WINDOW-CONFIG), where
  FRAME is a frame object,
  ALIST is an association list specifying some of FRAME's parameters, and
  WINDOW-CONFIG is a window configuration object for FRAME.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
;;;; Frame configurations

(defun current-frame-configuration ()
  "Return a list describing the positions and states of all frames.
Its car is `frame-configuration'.
Each element of the cdr is a list of the form (FRAME ALIST WINDOW-CONFIG),
where
  FRAME is a frame object,
  ALIST is an association list specifying some of FRAME's parameters, and
  WINDOW-CONFIG is a window configuration object for FRAME."
  (cons 'frame-configuration
	(mapcar (lambda (frame)
                  (list frame
                        (frame-parameters frame)
                        (current-window-configuration frame)))
		(frame-list))))