Function: selected-window-group

selected-window-group is a byte-compiled function defined in window.el.gz.

Signature

(selected-window-group)

Documentation

Return the list of windows in the group containing the selected window.

When a grouping mode (such as Follow Mode) is not active, the result is a list containing only the selected window.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun selected-window-group ()
  "Return the list of windows in the group containing the selected window.
When a grouping mode (such as Follow Mode) is not active, the
result is a list containing only the selected window."
  (if (functionp selected-window-group-function)
      (funcall selected-window-group-function)
    (list (selected-window))))