Fix doom-project-find-file if $HOME is a repo #833
If HOME is a repo, projectile resolves all project roots to HOME. This fixes any commands that rely on this project resolution by explicitly telling them what project they're in instead.
This commit is contained in:
parent
300181aba3
commit
1a6ee8e0df
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ If NOCACHE, don't fetch a cached answer."
|
|||
;;;###autoload
|
||||
(defun doom-project-find-file (dir)
|
||||
"Fuzzy-find a file under DIR."
|
||||
(let ((default-directory dir))
|
||||
(let ((projectile-project-root dir))
|
||||
(without-project-cache!
|
||||
(call-interactively
|
||||
;; completion modules may remap this command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue