Function: treemacs-add-project-at

treemacs-add-project-at is a function alias for treemacs-do-add-project-to-workspace, defined in treemacs-workspaces.el.

This function is obsolete since v.2.2.1; use treemacs-do-add-project-to-workspace instead.

Signature

(treemacs-add-project-at PATH NAME)

Documentation

Add project at PATH to the current workspace.

NAME is provided during ad-hoc navigation only. Return values may be as follows:

* If the given path is invalid (is nil or does not exist)
  - the symbol invalid-path
  - a string describing the problem
* If the project for the given path already exists:
  - the symbol duplicate-project
  - the project the PATH falls into
* If a project under given path already exists:
  - the symbol includes-project
  - the project the PATH contains
* If a project for the given name already exists:
  - the symbol duplicate-name
  - the project with the duplicate name
* If the given name is invalid:
  - the symbol invalid-name
  - the name
* If everything went well:
  - the symbol success
  - the created project

PATH: Filepath NAME: String

Aliases

treemacs-add-project-at (obsolete since v.2.2.1)