From 210bae902ad7450d1284e27672526a6d7f95ad94 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 18 Jun 2009 17:30:23 +0200 Subject: Will i ever get initialisation right? --- elisp/geiser.el | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'elisp/geiser.el') diff --git a/elisp/geiser.el b/elisp/geiser.el index 42e8cc1..1cc3c51 100644 --- a/elisp/geiser.el +++ b/elisp/geiser.el @@ -90,18 +90,10 @@ geiser-xref)) -;;; Scheme mode setup: +;;; Setup: -(defsubst geiser-impl--impl-feature (impl) - (intern (format "geiser-%s" impl))) - -(defun geiser-setup () - (eval-after-load "scheme" - '(add-hook 'scheme-mode-hook 'turn-on-geiser-mode)) - (mapc (lambda (impl) - (require (geiser-impl--impl-feature impl) nil t)) - (or geiser-impl-installed-implementations - '(guile plt)))) +(eval-after-load "scheme" + '(add-hook 'scheme-mode-hook 'turn-on-geiser-mode)) ;;; Reload: @@ -165,11 +157,6 @@ loaded." (geiser-mode--restore buffers) (message "Geiser reloaded!"))) - -;; Initialization: - -(geiser-setup) - (provide 'geiser) ;;; geiser.el ends here -- cgit v1.2.3