summaryrefslogtreecommitdiff
path: root/elisp/geiser.el
diff options
context:
space:
mode:
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: