summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-16 01:39:28 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-16 01:39:28 +0100
commitda9cae93e180463bb158461f5d008da83c172ed7 (patch)
tree86bf6f8f7e57043d8b5abe1a13c73963bbc1a4bf /elisp/geiser-mode.el
parentd7642ed7d0e3184921835644d8dde0b1b50e1e6f (diff)
downloadgeiser-guile-da9cae93e180463bb158461f5d008da83c172ed7.tar.gz
geiser-guile-da9cae93e180463bb158461f5d008da83c172ed7.tar.bz2
Many a bug fix in multiple implementation support.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 57fb84e..3e9e3c1 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -131,6 +131,13 @@ With prefix, recursively macro-expand the resulting expression."
(interactive "P")
(geiser-expand-region (save-excursion (backward-sexp) (point)) (point) all))
+(defun geiser-set-scheme ()
+ "Associates current buffer with a given Scheme implementation."
+ (interactive)
+ (let ((impl (geiser-impl--read-impl)))
+ (geiser-impl--set-buffer-implementation impl)
+ (geiser-repl--get-repl impl)))
+
;;; Geiser mode: