summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-guile.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index 8d8c4f3..6086dd8 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -18,6 +18,8 @@
(require 'geiser-edit)
(require 'geiser)
+(require 'compile)
+
;;; Customization:
@@ -125,6 +127,7 @@ This function uses `geiser-guile-init-file' if it exists."
(when (eq key 'geiser-debugger)
(let ((bt-cmd (format ",%s\n"
(if geiser-guile-debug-show-bt-p "bt" "fr"))))
+ (compilation-forget-errors)
(goto-char (point-max))
(comint-send-string nil "((@ (geiser emacs) ge:newline))\n")
(comint-send-string nil ",error-message\n")