diff --git a/core/autoload/projects.el b/core/autoload/projects.el index 9d5eb2786..0d5c5d305 100644 --- a/core/autoload/projects.el +++ b/core/autoload/projects.el @@ -74,8 +74,8 @@ If NOCACHE, don't fetch a cached answer." (defun doom-project-find-file (dir) "Fuzzy-find a file under DIR." (without-project-cache! - (let ((default-directory dir) - (projectile-project-root dir)) + (let* ((default-directory (file-truename dir)) + (projectile-project-root default-directory)) (call-interactively ;; completion modules may remap this command (or (command-remapping #'projectile-find-file) @@ -84,7 +84,7 @@ If NOCACHE, don't fetch a cached answer." ;;;###autoload (defun doom-project-browse (dir) "Traverse a file structure starting linearly from DIR." - (let ((default-directory dir)) + (let ((default-directory (file-truename dir))) (call-interactively ;; completion modules may remap this command (or (command-remapping #'find-file)