Don't remove projectile-root-local from root file functions
Doesn't do anything for the cache.
This commit is contained in:
parent
c95c4a3586
commit
3777474471
1 changed files with 1 additions and 3 deletions
|
@ -53,9 +53,7 @@
|
||||||
(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-root-files-functions
|
`(let (projectile-project-name
|
||||||
(remq 'projectile-root-local projectile-project-root-files-functions))
|
|
||||||
projectile-project-name
|
|
||||||
projectile-require-project-root
|
projectile-require-project-root
|
||||||
projectile-cached-buffer-file-name
|
projectile-cached-buffer-file-name
|
||||||
projectile-cached-project-root)
|
projectile-cached-project-root)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue