Update without-project-cache! macro

To match upstream changes in projectile
This commit is contained in:
Henrik Lissner 2018-09-22 12:42:38 -04:00
parent ac63596be8
commit cffb1d367f

View file

@ -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