From 247b219ea102b6edc76728c28c3eb93dda47a280 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 26 Aug 2018 12:00:13 +0200 Subject: [PATCH] doom-project-find-file: set default-directory too #833 Be extra sure! --- core/autoload/projects.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/autoload/projects.el b/core/autoload/projects.el index 4d80622f5..9d5eb2786 100644 --- a/core/autoload/projects.el +++ b/core/autoload/projects.el @@ -73,8 +73,9 @@ If NOCACHE, don't fetch a cached answer." ;;;###autoload (defun doom-project-find-file (dir) "Fuzzy-find a file under DIR." - (let ((projectile-project-root dir)) - (without-project-cache! + (without-project-cache! + (let ((default-directory dir) + (projectile-project-root dir)) (call-interactively ;; completion modules may remap this command (or (command-remapping #'projectile-find-file)