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 | b95b4870027fc8bde3ccd550e8e68b58070e4e34 (patch) | |
tree | 89850fd95472dfcda6d4f686b8a6443432ec8578 /elisp | |
parent | 4766cbcbd3c7e3dbe4a090352d9d8cb2a5916559 (diff) | |
download | geiser-guile-b95b4870027fc8bde3ccd550e8e68b58070e4e34.tar.gz geiser-guile-b95b4870027fc8bde3ccd550e8e68b58070e4e34.tar.bz2 |
Guile: fix bug in error display
Diffstat (limited to 'elisp')
-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))))) |