summaryrefslogtreecommitdiff
path: root/cider-repl.el
diff options
context:
space:
mode:
authorVitalie Spinu <spinuvit@gmail.com>2014-09-21 18:29:38 -0700
committerVitalie Spinu <spinuvit@gmail.com>2014-09-21 22:51:39 -0700
commit3d21d014fac9080dfc38ff8c368ff2c99b9e6248 (patch)
treec6502423c93b7bfd42628e1b25db0a3a0ca054cd /cider-repl.el
parentb7ca04eca659fd5a6e2e210a80d71d9e6be547ed (diff)
[Fix #814] Use `cider-current-ns` instead of `nrepl-buffer-ns`
Other changes: - Don't reset `nrepl-buffer-ns` in default response handler. - Remove `cider-find-ns` (it's confusing to have two functions doing almost the same thing). - Use nil global value of `nrepl-buffer-ns`. This will allow easy detection of the cases when this variable shouldn't be used.
Diffstat (limited to 'cider-repl.el')
-rw-r--r--cider-repl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-repl.el b/cider-repl.el
index c51a83ba..cb7aa1b7 100644
--- a/cider-repl.el
+++ b/cider-repl.el
@@ -551,7 +551,7 @@ If NEWLINE is true then add a newline at the end of the input."
(goto-char (point-max))
(cider-repl--mark-input-start)
(cider-repl--mark-output-start)
- (cider-eval form (cider-repl-handler (current-buffer)) nrepl-buffer-ns)))
+ (cider-eval form (cider-repl-handler (current-buffer)))))
(defun cider-repl-return (&optional end-of-input)
"Evaluate the current input string, or insert a newline.