summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-11 18:37:36 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-11 18:37:36 +0200
commitb3341745723a21210b3d337ea7b20dc0e743b663 (patch)
treed2336a74443c38c0b71869ee27b2138d695258e3 /elisp
parentf5fee3bddd264d84b2c40614053cef83ca072352 (diff)
downloadgeiser-guile-b3341745723a21210b3d337ea7b20dc0e743b663.tar.gz
geiser-guile-b3341745723a21210b3d337ea7b20dc0e743b663.tar.bz2
Cleanups to the show/jump debug buffer mess
Let's see if i finally got this right...
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-guile.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index c4f6293..de2e23f 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -1,6 +1,6 @@
;; geiser-guile.el -- guile's implementation of the geiser protocols
-;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -224,11 +224,10 @@ This function uses `geiser-guile-init-file' if it exists."
(ignore-errors (next-error)))))
(defun geiser-guile--display-error (module key msg)
- (newline)
(when (stringp msg)
(save-excursion (insert msg))
(geiser-edit--buttonize-files))
- (and (not key) msg (not (zerop (length msg)))))
+ (and (not key) (not (zerop (length msg))) msg))
;;; Trying to ascertain whether a buffer is Guile Scheme: