mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
Fix doom-project-root returning nil if no project
It should return default-directory. A change upstream broke this.
This commit is contained in:
@@ -299,7 +299,7 @@ Otherwise, falls back on `find-file-at-point'."
|
||||
(let ((file (projectile-completing-read "Find file: "
|
||||
(projectile-current-project-files)
|
||||
:initial-input path)))
|
||||
(find-file (expand-file-name file (projectile-project-root)))
|
||||
(find-file (expand-file-name file (doom-project-root)))
|
||||
(run-hooks 'projectile-find-file-hook))))))
|
||||
(#'doom-project-browse))))
|
||||
(find-file-at-point path))))))
|
||||
|
Reference in New Issue
Block a user