Function: treemacs--read-first-project-path
treemacs--read-first-project-path is a byte-compiled function defined
in treemacs-core-utils.el.
Signature
(treemacs--read-first-project-path)
Documentation
Read the first project on start with an empty workspace.
This function is extracted here specifically so that treemacs-projectile can overwrite it so as to present the project root instead of the current dir as the first choice.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
(defun treemacs--read-first-project-path ()
"Read the first project on start with an empty workspace.
This function is extracted here specifically so that treemacs-projectile can
overwrite it so as to present the project root instead of the current dir as the
first choice."
(when (treemacs-workspace->is-empty?)
(file-truename (read-directory-name "Project root: "))))