Clean up projectile's cache explicitly when removing a project

This commit is contained in:
Daniel - 2020-09-20 14:11:01 +02:00
parent f662e5b990
commit 2a046610e9
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 3 additions and 2 deletions

View File

@ -98,8 +98,9 @@
nil)
;; Update projectiles cache
(when (require 'projectile nil 'no-error)
(projectile-cleanup-known-projects)))
(projectile-remove-known-project
(expand-file-name short-name
projects-main-project-directory)))
(provide 'db-projects)