diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-07 00:32:22 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-07 00:32:22 +0200 |
commit | 841681e4360b08820bf1e9e0b260a83139d30911 (patch) | |
tree | 9be3b81a8906715beae59d738158adffb0af5286 /elisp/geiser-guile.el | |
parent | 34cfc967b6d377c4c2a795aba692a3652f21bb49 (diff) | |
download | geiser-chez-841681e4360b08820bf1e9e0b260a83139d30911.tar.gz geiser-chez-841681e4360b08820bf1e9e0b260a83139d30911.tar.bz2 |
Guile: fix bug in error display
Diffstat (limited to 'elisp/geiser-guile.el')
-rw-r--r-- | elisp/geiser-guile.el | 5 |
1 files 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))))) |