Update without-project-cache! macro
To match upstream changes in projectile
This commit is contained in:
parent
ac63596be8
commit
cffb1d367f
1 changed files with 3 additions and 4 deletions
|
@ -7,10 +7,9 @@
|
||||||
(defmacro without-project-cache! (&rest body)
|
(defmacro without-project-cache! (&rest body)
|
||||||
"Run BODY with projectile's project-root cache disabled. This is necessary if
|
"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."
|
you want to interactive with a project other than the one you're in."
|
||||||
`(let (projectile-project-name
|
`(let ((projectile-project-root-cache (make-hash-table :test 'equal))
|
||||||
projectile-require-project-root
|
projectile-project-name
|
||||||
projectile-cached-buffer-file-name
|
projectile-require-project-root)
|
||||||
projectile-cached-project-root)
|
|
||||||
,@body))
|
,@body))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue