summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-04-01 07:45:32 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-04-01 07:45:32 +0200
commit2533db2dbc61164d89d00a46ec7046e690cd37d7 (patch)
tree24222d89ce304577a4362e8ccb7e8d8dfee3e234
parentc3e346a25980615da0104f1ef8bb776a3d417fe8 (diff)
downloadgeiser-2533db2dbc61164d89d00a46ec7046e690cd37d7.tar.gz
geiser-2533db2dbc61164d89d00a46ec7046e690cd37d7.tar.bz2
Bug fix: really remove killed buffers from the list of closed repls.
-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))