Restore projectile-project-root's old behavior
For now...
This commit is contained in:
parent
d5f8ecdfce
commit
4bdd6002a4
2 changed files with 10 additions and 4 deletions
|
@ -61,10 +61,7 @@ If NOCACHE, don't fetch a cached answer."
|
|||
(if nocache
|
||||
(without-project-cache! (doom-project-root nil))
|
||||
(let (projectile-require-project-root)
|
||||
;; NOTE `projectile-project-root' should return default-directory if we're
|
||||
;; not in a project. Seems to be a bug upstream.
|
||||
(or (projectile-project-root)
|
||||
default-directory))))
|
||||
(projectile-project-root))))
|
||||
|
||||
;;;###autoload
|
||||
(defalias 'doom-project-expand #'projectile-expand-root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue