Fix doom-project-root returning nil if no project
It should return default-directory. A change upstream broke this.
This commit is contained in:
parent
7acece3e0b
commit
ac63596be8
3 changed files with 6 additions and 3 deletions
|
@ -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))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue