summaryrefslogtreecommitdiff
path: root/cider-interaction.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2015-09-02 19:44:12 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2015-09-02 19:44:12 +0300
commita3b1d80e84d00def49a9969736fdfc48c5dbd69c (patch)
treef03a71293cd153d65eca14f10d72db8574591650 /cider-interaction.el
parented832dcfada148e77619a97e4ff7bb2e12c4c518 (diff)
Move pprint-eval requests out of nrepl-client.el
This functionality is CIDER-specific and doesn't belong in the generic client.
Diffstat (limited to 'cider-interaction.el')
-rw-r--r--cider-interaction.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/cider-interaction.el b/cider-interaction.el
index 93e991f2..f6e1282e 100644
--- a/cider-interaction.el
+++ b/cider-interaction.el
@@ -1825,13 +1825,11 @@ This function is the same as `cider-interactive-eval', except the result is
pretty-printed to *out*. RIGHT-MARGIN specifies the maximum column width of
the printed result, and defaults to `fill-column'."
(cider--prep-interactive-eval form)
- (nrepl-request:pprint-eval
+ (cider-nrepl-request:pprint-eval
form
(or callback (cider-interactive-eval-handler))
;; always eval ns forms in the user namespace
;; otherwise trying to eval ns form for the first time will produce an error
- (cider-current-connection)
- (cider-current-session)
(if (cider-ns-form-p form) "user" (cider-current-ns))
(or right-margin fill-column)))