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
commit97d7a64bd4ba60aaaaad4be801becdfa9330f873 (patch)
tree368ec6071417bb27ea807eb700dcafd4a90db689 /elisp/geiser-impl.el
parentf6e8492346b1ac7be21b96849df25c08dd8ce3ae (diff)
downloadgeiser-guile-97d7a64bd4ba60aaaaad4be801becdfa9330f873.tar.gz
geiser-guile-97d7a64bd4ba60aaaaad4be801becdfa9330f873.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))