Function: claude-code-ide--hidden-panel-set
claude-code-ide--hidden-panel-set is a natively compiled function
defined in claude-code-ide.el.
Signature
(claude-code-ide--hidden-panel-set SCOPE SESSIONS)
Documentation
Remember SESSIONS as SCOPE's hidden window set in this frame's tab.
A nil SESSIONS drops the entry, so consumed or stale sets don't keep dead session structs alive in the frame parameter. Entries belonging to tabs that no longer exist are pruned on the way.
Source Code
;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide.el
(defun claude-code-ide--hidden-panel-set (scope sessions)
"Remember SESSIONS as SCOPE's hidden window set in this frame's tab.
A nil SESSIONS drops the entry, so consumed or stale sets don't keep
dead session structs alive in the frame parameter. Entries belonging
to tabs that no longer exist are pruned on the way."
(let* ((key (cons (claude-code-ide--current-tab-key) scope))
(live-tabs (and (fboundp 'tab-bar-tabs)
(mapcar (lambda (tab) (alist-get 'name (cdr tab)))
(tab-bar-tabs))))
(rest (cl-remove-if (lambda (entry)
(or (equal (car entry) key)
(and live-tabs
(not (member (caar entry) live-tabs)))))
(frame-parameter nil 'claude-code-ide-hidden-panel))))
(set-frame-parameter nil 'claude-code-ide-hidden-panel
(if sessions
(cons (cons key sessions) rest)
rest))))