mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -73,7 +73,7 @@ If NOCACHE, don't fetch a cached answer."
|
|||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-project-find-file (dir)
|
(defun doom-project-find-file (dir)
|
||||||
"Fuzzy-find a file under DIR."
|
"Fuzzy-find a file under DIR."
|
||||||
(let ((default-directory dir))
|
(let ((projectile-project-root dir))
|
||||||
(without-project-cache!
|
(without-project-cache!
|
||||||
(call-interactively
|
(call-interactively
|
||||||
;; completion modules may remap this command
|
;; completion modules may remap this command
|
||||||
|
Reference in New Issue
Block a user