Function: treemacs--current-builtin-project-function

treemacs--current-builtin-project-function is a byte-compiled function defined in treemacs-workspaces.el.

Signature

(treemacs--current-builtin-project-function)

Documentation

Find the current project.el project.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-workspaces.el
(defun treemacs--current-builtin-project-function ()
  "Find the current project.el project."
  (declare (side-effect-free t))
  (-when-let (project (project-current))
    (if (fboundp 'project-root)
        (-> project (project-root) (file-truename) (treemacs-canonical-path))
      (-> project (cdr) (file-truename) (treemacs-canonical-path)))))