aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/projectile.el b/projectile.el
index ccee4c6..1a79671 100644
--- a/projectile.el
+++ b/projectile.el
@@ -4109,7 +4109,7 @@ This command will first prompt for the directory the file is in."
;; target directory is in a project
(let ((file (projectile-completing-read "Find file: "
(projectile-dir-files directory))))
- (find-file (expand-file-name file (projectile-project-root)))
+ (find-file (expand-file-name file directory))
(run-hooks 'projectile-find-file-hook))
;; target directory is not in a project
(projectile-find-file))))