From d64687c46dcd12aa3225a0fa38269f79a248dfb0 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 27 Oct 2022 02:37:21 +0100 Subject: wee fix: i always forget nil is a list --- geiser-chez.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geiser-chez.el') 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") -- cgit v1.2.3