Skip to content

Commit

Permalink
[Persistence] Don't validate existence of disabled projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Miller committed May 13, 2024
1 parent 1c364c0 commit d45032e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/elisp/treemacs-persistence.el
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ ITER: Treemacs-Iter Struct"
(treemacs--get-path-status)))
(setq action
(cond
((not (treemacs-project->is-unreadable? project))
((or (treemacs-project->is-disabled? project)
(not (treemacs-project->is-unreadable? project)))
'keep)
((eq treemacs-missing-project-action 'ask)
(let ((completions
Expand Down

0 comments on commit d45032e

Please sign in to comment.