summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-08-25 01:33:59 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-08-25 01:33:59 +0100
commit4f8a9bbe43a3ad96c5ba7ef1c221aec1e879a0a8 (patch)
treec0a7114cd5bdfc6bea73f847258be2c118f3e384
parente54f9522fc3063c5958aa20795ff57f3854d1c7c (diff)
Fix `cider-switch-to-repl-buffer` always setting the namespace
"p" instead of "P" was causing the prefix to always be non-nil, which in turn caused the namespace to always be set when switching to REPL.
-rw-r--r--cider-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-interaction.el b/cider-interaction.el
index f26c2043..5fdddda6 100644
--- a/cider-interaction.el
+++ b/cider-interaction.el
@@ -466,7 +466,7 @@ to jump back to the last Clojure source buffer."
(defun cider-switch-to-repl-buffer (&optional arg)
"Invoke `cider-switch-to-repl-command'."
- (interactive "p")
+ (interactive "P")
(funcall cider-switch-to-repl-command arg))
(defun cider--switch-to-repl-buffer (repl-buffer &optional set-namespace)