From b95b4870027fc8bde3ccd550e8e68b58070e4e34 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 7 Sep 2010 00:32:22 +0200 Subject: Guile: fix bug in error display --- elisp/geiser-guile.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el index 640ef02..15c40cc 100644 --- a/elisp/geiser-guile.el +++ b/elisp/geiser-guile.el @@ -152,8 +152,9 @@ This function uses `geiser-guile-init-file' if it exists." (defun geiser-guile--display-error (module key msg) (newline) - (save-excursion (insert msg)) - (geiser-edit--buttonize-files) + (when (stringp msg) + (save-excursion (insert msg)) + (geiser-edit--buttonize-files)) (and (not key) msg (not (zerop (length msg))))) -- cgit v1.2.3