diff options
author | Vitalie Spinu <spinuvit@gmail.com> | 2014-09-21 18:29:38 -0700 |
---|---|---|
committer | Vitalie Spinu <spinuvit@gmail.com> | 2014-09-21 22:51:39 -0700 |
commit | 3d21d014fac9080dfc38ff8c368ff2c99b9e6248 (patch) | |
tree | c6502423c93b7bfd42628e1b25db0a3a0ca054cd /cider-repl.el | |
parent | b7ca04eca659fd5a6e2e210a80d71d9e6be547ed (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.el | 2 |
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. |