summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-10-27 02:34:33 +0100
committerjao <jao@gnu.org>2022-10-27 02:34:33 +0100
commit5a422e66155b1e566a4eecef45fc9cf8177c1436 (patch)
tree185fa3c5618f66d4566cd5fbc2243c769958366f
parentaf47e12809629239bdf7a660a7fe326159a50cf8 (diff)
downloadgeiser-chez-5a422e66155b1e566a4eecef45fc9cf8177c1436.tar.gz
geiser-chez-5a422e66155b1e566a4eecef45fc9cf8177c1436.tar.bz2
fix: correctly display side-effect output in evaluations
-rw-r--r--geiser-chez.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/geiser-chez.el b/geiser-chez.el
index 8b7af24..a2213f3 100644
--- a/geiser-chez.el
+++ b/geiser-chez.el
@@ -188,7 +188,7 @@ Return its local name."
(defun geiser-chez--display-error (_module key msg)
"Display an error found during evaluation with the given KEY and message MSG."
- (when msg
+ (when (listp msg)
(save-excursion
(insert (car msg))
(insert "\n")