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.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index b3a47e7..85b7ee8 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -231,7 +231,8 @@ If no REPL is running, execute `run-geiser' to start a fresh one."
(defun geiser-repl--on-kill ()
(geiser-repl--on-quit)
- (remove (current-buffer) geiser-repl--closed-repls))
+ (setq geiser-repl--closed-repls
+ (remove (current-buffer) geiser-repl--closed-repls)))
(defun geiser-repl--input-filter (str)
(and (not (string-match "^\\s *$" str))