summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-10-27 02:37:21 +0100
committerjao <jao@gnu.org>2022-10-27 02:37:21 +0100
commitd64687c46dcd12aa3225a0fa38269f79a248dfb0 (patch)
tree2053acc3d0ea3181e8bc54975e6c061e04da7752
parentf863988fe1866a6c70e571ef690276c939525961 (diff)
downloadgeiser-chez-d64687c46dcd12aa3225a0fa38269f79a248dfb0.tar.gz
geiser-chez-d64687c46dcd12aa3225a0fa38269f79a248dfb0.tar.bz2
wee fix: i always forget nil is a list
-rw-r--r--geiser-chez.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/geiser-chez.el b/geiser-chez.el
index a2213f3..170570d 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 (listp msg)
+ (when (and msg (listp msg))
(save-excursion
(insert (car msg))
(insert "\n")