summaryrefslogtreecommitdiff
path: root/elisp/geiser.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-14 13:07:54 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-14 13:07:54 +0200
commit643be2437b520af1cb0ebc03114d8c6d8ca2a5ae (patch)
tree8180a0de267bea6e94949469fae245e6e3188f17 /elisp/geiser.el
parent49d7ec0b57dca5551a25bd5d3636844c345ddf0c (diff)
downloadgeiser-643be2437b520af1cb0ebc03114d8c6d8ca2a5ae.tar.gz
geiser-643be2437b520af1cb0ebc03114d8c6d8ca2a5ae.tar.bz2
Fixing the mess during initialization.
Diffstat (limited to 'elisp/geiser.el')
-rw-r--r--elisp/geiser.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/elisp/geiser.el b/elisp/geiser.el
index d72eee7..952cfe5 100644
--- a/elisp/geiser.el
+++ b/elisp/geiser.el
@@ -97,9 +97,15 @@
(defun geiser-setup-implementations (impls)
(setq geiser-impl-installed-implementations (or impls '(guile plt))))
+(defsubst geiser-impl--impl-feature (impl)
+ (intern (format "geiser-%s" impl)))
+
(defun geiser-setup (&rest impls)
(geiser-setup-implementations impls)
- (geiser-setup-scheme-mode))
+ (geiser-setup-scheme-mode)
+ (mapc (lambda (impl)
+ (require (geiser-impl--impl-feature impl) nil t))
+ geiser-impl-installed-implementations))
;;; Reload: