Variable: treemacs-missing-project-action
treemacs-missing-project-action is a customizable variable defined in
treemacs-customization.el.
Value
ask
Documentation
Action to perform when a persisted project is not found on the disk.
If the project is not found, the project can either be kept in the project list, or removed from it. If the project is removed, when projects are persisted, the missing project will not appear in the project list next time Emacs is started.
Possible values are:
- ask
- remove
- keep
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-missing-project-action 'ask
"Action to perform when a persisted project is not found on the disk.
If the project is not found, the project can either be kept in the project list,
or removed from it. If the project is removed, when projects are persisted, the
missing project will not appear in the project list next time Emacs is started.
Possible values are:
- `ask'
- `remove'
- `keep'"
:type '(choice (const :tag "Ask whether to remove" ask)
(const :tag "Remove without asking" remove)
(const :tag "Keep without asking" keep))
:group 'treemacs)