Skip to content

Commit

Permalink
Remove unused local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Batsov committed Aug 13, 2014
1 parent 3a5ba6a commit 3e5a73b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cider.el
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,7 @@ start the server."
(let* ((project (when prompt-project
(read-directory-name "Project: ")))
(project-dir (nrepl-project-directory-for
(or project (nrepl-current-dir))))
(server-command (if prompt-project
(read-string (format "Server command: %s " cider-lein-command) cider-lein-parameters)
cider-lein-parameters)))
(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))
Expand Down

0 comments on commit 3e5a73b

Please sign in to comment.