diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-06-19 17:03:30 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-06-19 17:03:30 +0200 |
commit | 00dbf12a4326b911d9cc78378754e24000952d75 (patch) | |
tree | a1a139a131712172f0612b0554377f0b5561076a /elisp/geiser-impl.el | |
parent | 9523b4db72dbb5a85f2dfb6c70262af77fd85575 (diff) | |
download | geiser-00dbf12a4326b911d9cc78378754e24000952d75.tar.gz geiser-00dbf12a4326b911d9cc78378754e24000952d75.tar.bz2 |
Registered implementations are loaded by default.
Diffstat (limited to 'elisp/geiser-impl.el')
-rw-r--r-- | elisp/geiser-impl.el | 3 |
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))) |