Function: treemacs-project->is-expanded?

treemacs-project->is-expanded? is a byte-compiled function defined in treemacs-workspaces.el.

Signature

(treemacs-project->is-expanded? SELF)

Documentation

Return non-nil if project SELF is expanded in the current buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-workspaces.el
(define-inline treemacs-project->is-expanded? (self)
  "Return non-nil if project SELF is expanded in the current buffer."
  (declare (side-effect-free t))
  (inline-letevals (self)
    (inline-quote
     (memq (-> ,self (treemacs-project->position) (treemacs-button-get :state))
           treemacs--open-node-states))))