summaryrefslogtreecommitdiff
path: root/cider-client.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@tradeo.com>2014-09-03 19:08:00 +0300
committerBozhidar Batsov <bozhidar@tradeo.com>2014-09-03 19:08:00 +0300
commit1efc9fa7df279c150e8b04f0396a2313bc6d60e5 (patch)
tree0131f430facbd80e975830b8010863e6e9af734e /cider-client.el
parent95926e61ee74d0a24e637d0c88ff9b36dab93bc0 (diff)
[Fix #772] Don't read Clojure results as Emacs Lisp code
Diffstat (limited to 'cider-client.el')
-rw-r--r--cider-client.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/cider-client.el b/cider-client.el
index 43720fcd..0c0e52f9 100644
--- a/cider-client.el
+++ b/cider-client.el
@@ -132,7 +132,8 @@ NS specifies the namespace in which to evaluate the request."
(defun cider-get-value (eval-result)
"Get the value from EVAL-RESULT."
- (read (cider-get-raw-value eval-result)))
+ (with-output-to-string
+ (message "%s" (cider-get-raw-value eval-result))))
(defun cider-send-op (op attributes handler)
"Send the specified OP with ATTRIBUTES and response HANDLER."