summaryrefslogtreecommitdiff
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
commitacd64c5d448a614823c296a3e099823a706cb7e9 (patch)
treee480ff89f6b6d85edbb36cd72eec689612e0c4c9
parent64800ae4fa27b88ca8ee6c58d7edb0056e71ade6 (diff)
downloadgeiser-guile-acd64c5d448a614823c296a3e099823a706cb7e9.tar.gz
geiser-guile-acd64c5d448a614823c296a3e099823a706cb7e9.tar.bz2
Registered implementations are loaded by default.
-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)))