Skip to content

Commit 8fb457d

Browse files
author
Bozhidar Batsov
committed
Fix a regression introduced in #489 that broke cider-jack-in outside
lein projects
1 parent fe1bf79 commit 8fb457d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cider.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ start the server."
103103
(cmd (if project
104104
(format "cd %s && %s" project cider-server-command)
105105
cider-server-command))
106-
(default-directory project-dir)
106+
(default-directory (or project-dir default-directory))
107107
(nrepl-buffer-name (generate-new-buffer-name
108108
(nrepl-server-buffer-name)))
109109
(process

0 commit comments

Comments
 (0)