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
commiteac44dafd8a451e0f452c489b4da52e7eea84ec3 (patch)
treefa3c57b48b4d81b09cd775df2abf12452762ff76 /elisp/geiser-mode.el
parent3a20baccd8b01a3eb72254e209a4c168a05de8a7 (diff)
downloadgeiser-eac44dafd8a451e0f452c489b4da52e7eea84ec3.tar.gz
geiser-eac44dafd8a451e0f452c489b4da52e7eea84ec3.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: