mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08: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:
parent
cfb93b2a32
commit
1fc41d719c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue