From 351e7036d9bce0002e9b126e8ad715b08fad499c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 31 Jul 2020 16:00:52 -0400 Subject: [PATCH] doom-cleanup-project-cache-h: do nothing if caching is disabled --- core/core-projects.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-projects.el b/core/core-projects.el index d64dc8351..00dfb7e1e 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -105,6 +105,7 @@ b) represent blacklisted directories that are too big, change too often or are private. (see `doom-projectile-cache-blacklist'), c) are not valid projectile projects." (when (and (bound-and-true-p projectile-projects-cache) + projectile-enable-caching doom-interactive-p) (cl-loop with blacklist = (mapcar #'file-truename doom-projectile-cache-blacklist) for proot in (hash-table-keys projectile-projects-cache)