fix(lib): doom-project-find-file: cl-no-applicable-method project-root

Fix: #7312
This commit is contained in:
Henrik Lissner 2024-02-08 00:56:40 -05:00
parent 5ef7075f96
commit 15339e4671
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -155,8 +155,8 @@ If DIR is not a project, it will be indexed (but not cached)."
((and (bound-and-true-p ivy-mode)
(fboundp 'counsel-file-jump))
(call-interactively #'counsel-file-jump))
((project-current nil dir)
(project-find-file-in nil nil dir))
((when-let ((pr (project-current nil dir)))
(project-find-file-in nil nil pr)))
((and (bound-and-true-p helm-mode)
(fboundp 'helm-find-files))
(call-interactively #'helm-find-files))