summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r--elisp/geiser-repl.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 814c501..bb827a5 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -762,9 +762,8 @@ If SAVE-HISTORY is non-nil, save CMD in the REPL history."
(intxt (and pmark (buffer-substring pmark (point))))
(eob (point-max)))
(when intxt
- (and geiser-repl-forget-old-errors-p
- (not (geiser-repl--is-debugging))
- (compilation-forget-errors))
+ (when geiser-repl-forget-old-errors-p
+ (compilation-forget-errors))
(geiser-repl--prepare-send)
(comint-send-input)
(when (string-match "^\\s-*$" intxt)