mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
doom-cleanup-project-cache-h: do nothing if caching is disabled
This commit is contained in:
@ -105,6 +105,7 @@ b) represent blacklisted directories that are too big, change too often or are
|
|||||||
b) represent blacklisted directories that are too big, change too often or are
|
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)
|
||||||
projectile-enable-caching
|
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)
|
||||||
|
Reference in New Issue
Block a user