summaryrefslogtreecommitdiff
path: root/elisp/geiser-connection.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-connection.el')
-rw-r--r--elisp/geiser-connection.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-connection.el b/elisp/geiser-connection.el
index fb16aa6..cce2c5b 100644
--- a/elisp/geiser-connection.el
+++ b/elisp/geiser-connection.el
@@ -199,7 +199,8 @@
(condition-case err
(let* ((start (string-match "((\\(?:result\\|error\\) " answer))
(form (or (and start (car (read-from-string answer start)))
- `((error . retort-syntax) (output . ,answer)))))
+ `((error (key . retort-syntax)
+ (output . ,answer))))))
form)
(error `((error (key . geiser-con-error))
(output . ,(format "%s\n(%s)"