Function: hui-menu-window-list-all-frames
hui-menu-window-list-all-frames is a byte-compiled function defined in
hui-jmenu.el.
Signature
(hui-menu-window-list-all-frames &optional MINI)
Documentation
Return a list of Lisp window objects for all Emacs windows in all frames.
Optional first arg MINI t means include the minibuffer window in the list, even if it is not active. If MINI is neither t nor nil it means to not count the minibuffer window even if it is active.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-jmenu.el
(defun hui-menu-window-list-all-frames (&optional mini)
"Return a list of Lisp window objects for all Emacs windows in all frames.
Optional first arg MINI t means include the minibuffer window in the list,
even if it is not active. If MINI is neither t nor nil it means to not count
the minibuffer window even if it is active."
(let* ((first-window (next-window
(previous-window (selected-window) nil t)
mini t))
(windows (cons first-window nil))
(current-cons windows)
(w (next-window first-window mini t)))
(while (not (eq w first-window))
(setq current-cons (setcdr current-cons (cons w nil)))
(setq w (next-window w mini t)))
windows))