Function: frameset-frame-with-id
frameset-frame-with-id is an autoloaded and byte-compiled function
defined in frameset.el.gz.
Signature
(frameset-frame-with-id ID &optional FRAME-LIST)
Documentation
Return the live frame with id ID, if exists; else nil.
If FRAME-LIST is a list of frames, check these frames only. If nil, check all live frames.
Source Code
;; Defined in /usr/src/emacs/lisp/frameset.el.gz
;;;###autoload
(defun frameset-frame-with-id (id &optional frame-list)
"Return the live frame with id ID, if exists; else nil.
If FRAME-LIST is a list of frames, check these frames only.
If nil, check all live frames."
(cl-find-if (lambda (f)
(and (frame-live-p f)
(frameset-frame-id-equal-p f id)))
(or frame-list (frame-list))))