doom-cleanup-project-cache-h: do nothing if caching is disabled
This commit is contained in:
parent
434f107099
commit
351e7036d9
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ b) represent blacklisted directories that are too big, change too often or are
|
||||||
private. (see `doom-projectile-cache-blacklist'),
|
private. (see `doom-projectile-cache-blacklist'),
|
||||||
c) are not valid projectile projects."
|
c) are not valid projectile projects."
|
||||||
(when (and (bound-and-true-p projectile-projects-cache)
|
(when (and (bound-and-true-p projectile-projects-cache)
|
||||||
|
projectile-enable-caching
|
||||||
doom-interactive-p)
|
doom-interactive-p)
|
||||||
(cl-loop with blacklist = (mapcar #'file-truename doom-projectile-cache-blacklist)
|
(cl-loop with blacklist = (mapcar #'file-truename doom-projectile-cache-blacklist)
|
||||||
for proot in (hash-table-keys projectile-projects-cache)
|
for proot in (hash-table-keys projectile-projects-cache)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue