Add geiser for scheme

This commit is contained in:
toctan 2014-06-04 17:36:05 +08:00
parent b21abe428e
commit 4995a8ccd9

View file

@ -31,8 +31,17 @@
;; Boston, MA 02110-1301, USA. ;; Boston, MA 02110-1301, USA.
;;; Code: ;;; Code:
(prelude-require-package 'geiser)
(require 'prelude-lisp) (require 'prelude-lisp)
(require 'geiser)
;; geiser replies on a REPL to provide autodoc and completion
(setq geiser-mode-start-repl-p t)
;; keep the home clean
(setq geiser-repl-history-filename
(expand-file-name "geiser-history" prelude-savefile-dir))
(add-hook 'scheme-mode-hook (lambda () (run-hooks 'prelude-lisp-coding-hook))) (add-hook 'scheme-mode-hook (lambda () (run-hooks 'prelude-lisp-coding-hook)))