From cffb1d367f1b1c630488fac6750b409b2b0de0c7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 22 Sep 2018 12:42:38 -0400 Subject: [PATCH] Update without-project-cache! macro To match upstream changes in projectile --- core/autoload/projects.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/autoload/projects.el b/core/autoload/projects.el index 40267da90..cdd134802 100644 --- a/core/autoload/projects.el +++ b/core/autoload/projects.el @@ -7,10 +7,9 @@ (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-name - projectile-require-project-root - projectile-cached-buffer-file-name - projectile-cached-project-root) + `(let ((projectile-project-root-cache (make-hash-table :test 'equal)) + projectile-project-name + projectile-require-project-root) ,@body)) ;;;###autoload