Function: treemacs-project-at-point

treemacs-project-at-point is a byte-compiled function defined in treemacs-workspaces.el.

Signature

(treemacs-project-at-point)

Documentation

Get the project for the (nearest) project at point.

Return nil when treemacs-current-button is nil.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-workspaces.el
(define-inline treemacs-project-at-point ()
  "Get the project for the (nearest) project at point.
Return nil when `treemacs-current-button' is nil."
  (declare (side-effect-free t))
  (inline-quote
   (-when-let (btn (treemacs-current-button))
     (treemacs-project-of-node btn))))