doom-project-find-file: unset projectile-project-root
Instead of setting it default-directory, which can cause symlink resolution issues.
This commit is contained in:
parent
0bb06f052e
commit
e9608ab939
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ they are absolute."
|
||||||
"Fuzzy-find a file under DIR."
|
"Fuzzy-find a file under DIR."
|
||||||
(without-project-cache!
|
(without-project-cache!
|
||||||
(let* ((default-directory (file-truename dir))
|
(let* ((default-directory (file-truename dir))
|
||||||
(projectile-project-root default-directory))
|
projectile-project-root)
|
||||||
(call-interactively
|
(call-interactively
|
||||||
;; completion modules may remap this command
|
;; completion modules may remap this command
|
||||||
(or (command-remapping #'projectile-find-file)
|
(or (command-remapping #'projectile-find-file)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue