diff options
author | Michael Griffiths <mikey@cich.li> | 2015-03-03 21:46:54 +0000 |
---|---|---|
committer | Michael Griffiths <mikey@cich.li> | 2015-03-03 21:47:25 +0000 |
commit | e7667eb53f35e4461eae6c2797a8f906421d2fb8 (patch) | |
tree | c16126b6991d0ccbc3a849c751ee9f2acad45178 | |
parent | 4bbe9ccf59cb3920af976f8a093952bd9f406d43 (diff) |
Send ns with interactive eval requests
Fixes #1002.
-rw-r--r-- | cider-interaction.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cider-interaction.el b/cider-interaction.el index f077232b..248316e2 100644 --- a/cider-interaction.el +++ b/cider-interaction.el @@ -1407,7 +1407,8 @@ If CALLBACK is nil use `cider-interactive-eval-handler'." (cider--prep-interactive-eval form) (nrepl-request:eval form - (or callback (cider-interactive-eval-handler)))) + (or callback (cider-interactive-eval-handler)) + (cider-current-ns))) (defun cider-interactive-pprint-eval (form &optional callback right-margin) "Evaluate FORM and dispatch the response to CALLBACK. @@ -1418,7 +1419,7 @@ the printed result, and defaults to `fill-column'." (nrepl-request:pprint-eval form (or callback (cider-interactive-eval-handler)) - nil + (cider-current-ns) nil (or right-margin fill-column))) |