summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-06-19 17:03:30 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-06-19 17:03:30 +0200
commit00dbf12a4326b911d9cc78378754e24000952d75 (patch)
treea1a139a131712172f0612b0554377f0b5561076a /elisp
parent9523b4db72dbb5a85f2dfb6c70262af77fd85575 (diff)
downloadgeiser-00dbf12a4326b911d9cc78378754e24000952d75.tar.gz
geiser-00dbf12a4326b911d9cc78378754e24000952d75.tar.bz2
Registered implementations are loaded by default.
Diffstat (limited to 'elisp')
-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)))