mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix: project-current-directory-override takes a directory
Not a `t`. [It overrides `default-directory`](6c1c3120b9/lisp/progmodes/project.el (L196-L198)
).
This commit is contained in:
committed by
Henrik Lissner
parent
cfb93b2a32
commit
1fc41d719c
@ -160,7 +160,7 @@ If DIR is not a project, it will be indexed (but not cached)."
|
||||
((and (bound-and-true-p helm-mode)
|
||||
(fboundp 'helm-find-files))
|
||||
(call-interactively #'helm-find-files))
|
||||
((when-let* ((project-current-directory-override t)
|
||||
((when-let* ((project-current-directory-override dir)
|
||||
(pr (project-current t dir)))
|
||||
(condition-case _
|
||||
(project-find-file-in nil nil pr)
|
||||
|
Reference in New Issue
Block a user