summaryrefslogtreecommitdiff
path: root/elisp/geiser-impl.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-08-31 21:26:05 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-08-31 21:26:05 +0200
commitbd4e541c13836fbf7cabf1da26b97abff4160a8a (patch)
treea35131d5503f695955d293bdfd5a83114b54708d /elisp/geiser-impl.el
parentac3b287438e8e5ca85f778f55094822408b1131b (diff)
downloadgeiser-bd4e541c13836fbf7cabf1da26b97abff4160a8a.tar.gz
geiser-bd4e541c13836fbf7cabf1da26b97abff4160a8a.tar.bz2
Make geiser-mode ask which scheme on activation if guessing fails
Diffstat (limited to 'elisp/geiser-impl.el')
-rw-r--r--elisp/geiser-impl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-impl.el b/elisp/geiser-impl.el
index 47af5be..8c55ab4 100644
--- a/elisp/geiser-impl.el
+++ b/elisp/geiser-impl.el
@@ -232,8 +232,8 @@ buffer contains Scheme code of the given implementation.")
(let ((m (geiser-impl--method method impl)))
(if (functionp m) (funcall m) fallback)))
-(defun geiser-impl--set-buffer-implementation (&optional impl)
- (let ((impl (or impl (geiser-impl--guess))))
+(defun geiser-impl--set-buffer-implementation (&optional impl prompt)
+ (let ((impl (or impl (geiser-impl--guess prompt))))
(when impl
(unless (geiser-impl--load-impl impl)
(error "Cannot find %s implementation" impl))