summaryrefslogtreecommitdiff
path: root/elisp/geiser-guile.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-04 21:17:12 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-04 21:17:12 +0200
commitafa7fb40739992e22c7b4fd520ac6fac3d8e69c7 (patch)
tree43d9db7e6776a79a1d5503d99a4733e3177fbec0 /elisp/geiser-guile.el
parent35d7893f4889a7b4e67102b0da6363ed2454bc74 (diff)
downloadgeiser-guile-afa7fb40739992e22c7b4fd520ac6fac3d8e69c7.tar.gz
geiser-guile-afa7fb40739992e22c7b4fd520ac6fac3d8e69c7.tar.bz2
REPL: (optionally) forget old errors on new expressions
Diffstat (limited to 'elisp/geiser-guile.el')
-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")