summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f1207bd..0a1f544 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -333,7 +333,8 @@ will be set up using `geiser-connect-local' when a REPL is started.")
(let ((act))
(dolist (repl geiser-repl--repls act)
(with-current-buffer repl
- (add-to-list 'act geiser-impl--implementation)))))
+ (unless (memq geiser-impl--implementation act)
+ (push geiser-impl--implementation act))))))
(defsubst geiser-repl--repl-name (impl)
(format "%s REPL" (geiser-impl--impl-str impl)))