Function: treemacs-current-visibility

treemacs-current-visibility is a byte-compiled function defined in treemacs-scope.el.

Signature

(treemacs-current-visibility)

Documentation

Return whether the current visibility state of the treemacs buffer.

Valid states are 'visible, 'exists and 'none.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-scope.el
(define-inline treemacs-current-visibility ()
  "Return whether the current visibility state of the treemacs buffer.
Valid states are \\='visible, \\='exists and \\='none."
  (declare (side-effect-free t))
  (inline-quote
   (cond
    ((treemacs-get-local-window) 'visible)
    ((treemacs-get-local-buffer) 'exists)
    (t 'none))))