summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-impl.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-impl.el b/elisp/geiser-impl.el
index 236af27..c148920 100644
--- a/elisp/geiser-impl.el
+++ b/elisp/geiser-impl.el
@@ -64,7 +64,8 @@ determine its scheme flavour."
(defvar geiser-impl--impls nil)
(defun geiser-impl--register (impl)
- (add-to-list 'geiser-impl--impls impl))
+ (when (require (geiser-impl--impl-feature impl) nil t)
+ (add-to-list 'geiser-impl--impls impl)))
(defun geiser-impl--unregister (impl)
(setq geiser-impl--impls (remove impl geiser-impl--impls)))