From 377747447103b313ee69793fc55ef047cf5a9d27 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 20 Mar 2018 03:38:54 -0400 Subject: [PATCH] Don't remove projectile-root-local from root file functions Doesn't do anything for the cache. --- core/core-projects.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/core-projects.el b/core/core-projects.el index e2f6322ef..a293a8fc2 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -53,9 +53,7 @@ (defmacro without-project-cache! (&rest body) "Run BODY with projectile's project-root cache disabled. This is necessary if you want to interactive with a project other than the one you're in." - `(let ((projectile-project-root-files-functions - (remq 'projectile-root-local projectile-project-root-files-functions)) - projectile-project-name + `(let (projectile-project-name projectile-require-project-root projectile-cached-buffer-file-name projectile-cached-project-root)