summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")