summaryrefslogtreecommitdiff
path: root/cider-interaction.el
diff options
context:
space:
mode:
authorCharles Comstock <dgtized@gmail.com>2014-02-19 19:21:05 -0600
committerCharles Comstock <dgtized@gmail.com>2014-02-19 19:21:05 -0600
commit9708ffd248ea13c68517631c3759ebf4801d0e41 (patch)
treed2e638c35b9737b517322d400ee603bf12d882a3 /cider-interaction.el
parent9907013acfc4198e4d41544ae8575beae9813e5d (diff)
Actually pass prompt-project to cider-jack-in
Also changes the interactive signature to allow a raw prefix argument.
Diffstat (limited to 'cider-interaction.el')
-rw-r--r--cider-interaction.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-interaction.el b/cider-interaction.el
index 973b5c0f..6fce946f 100644
--- a/cider-interaction.el
+++ b/cider-interaction.el
@@ -1318,13 +1318,13 @@ Quitting closes all active nREPL connections and kills all CIDER buffers."
"Quit CIDER and restart it.
If PROMPT-PROJECT is t, then prompt for the project in which to
restart the server."
- (interactive)
+ (interactive "P")
(cider-quit)
;; Workaround for a nasty race condition https://github.com/clojure-emacs/cider/issues/439
;; TODO: Find a better way to ensure `cider-quit' has finished
(message "Waiting for CIDER to quit...")
(sleep-for 2)
- (cider-jack-in current-prefix-arg))
+ (cider-jack-in prompt-project))
(add-hook 'nrepl-connected-hook 'cider-enable-on-existing-clojure-buffers)
(add-hook 'nrepl-disconnected-hook