Skip to content

Commit

Permalink
[Fix #744] Restore the ability to customize the command invoked by ci…
Browse files Browse the repository at this point in the history
…der-jack-in
  • Loading branch information
Bozhidar Batsov committed Aug 22, 2014
1 parent 00c8cb9 commit 71e7de4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ bug for `tidy` namespace display.
* Font-lock properly error messages in the REPL resulting from interactive evaluation.
* [#671](https://github.com/clojure-emacs/cider/issues/671): Remove problematic code that was
setting the REPL's initial ns based on lein's `:init-ns` option.
<<<<<<< HEAD
* [#695](https://github.com/clojure-emacs/cider/issues/695): Keep point at
original position when clearing or highlighting test results.
=======
* [#744](https://github.com/clojure-emacs/cider/issues/744): Fix the ability to customize the
lein command invoked by `cider-jack-in`.
>>>>>>> [Fix #744] Restore the ability to customize the command invoked by cider-jack-in
## 0.7.0 / 2014-08-05

Expand Down
5 changes: 4 additions & 1 deletion cider.el
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ start the server."
(or project (nrepl-current-dir)))))
(when (nrepl-check-for-repl-buffer nil project-dir)
(let* ((nrepl-project-dir project-dir)
(cmd (format "%s %s" cider-lein-command cider-lein-parameters))
(lein-params (if prompt-project
(read-string (format "nREPL server command: %s " cider-lein-command) cider-lein-parameters)
cider-lein-parameters))
(cmd (format "%s %s" cider-lein-command lein-params))
(default-directory (or project-dir default-directory))
(serv-buf-name (generate-new-buffer-name (nrepl-server-buffer-name)))
(process
Expand Down

0 comments on commit 71e7de4

Please sign in to comment.