Skip to content

Commit 1efc9fa

Browse files
author
Bozhidar Batsov
committed
[Fix #772] Don't read Clojure results as Emacs Lisp code
1 parent 95926e6 commit 1efc9fa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ original position when clearing or highlighting test results.
6060
* [#744](https://github.com/clojure-emacs/cider/issues/744): Fix the ability to customize the
6161
lein command invoked by `cider-jack-in`.
6262
* [#752](https://github.com/clojure-emacs/cider/issues/752): Don't assume
63-
`clojure.core/let` is always available as `let`.
63+
`clojure.core/let` is always available as `let`.
64+
* [#772](https://github.com/clojure-emacs/cider/issues/772): Don't try to read Clojure results as
65+
Emacs Lisp code.
6466

6567
## 0.7.0 / 2014-08-05
6668

cider-client.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ NS specifies the namespace in which to evaluate the request."
132132

133133
(defun cider-get-value (eval-result)
134134
"Get the value from EVAL-RESULT."
135-
(read (cider-get-raw-value eval-result)))
135+
(with-output-to-string
136+
(message "%s" (cider-get-raw-value eval-result))))
136137

137138
(defun cider-send-op (op attributes handler)
138139
"Send the specified OP with ATTRIBUTES and response HANDLER."

0 commit comments

Comments
 (0)