mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Improve reliability of 'nocache & without-project-cache! macro
This commit is contained in:
@ -53,7 +53,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."
|
||||
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
|
||||
projectile-require-project-root
|
||||
projectile-cached-buffer-file-name
|
||||
|
Reference in New Issue
Block a user