diff options
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-impl.el | 4 | ||||
-rw-r--r-- | elisp/geiser-mode.el | 2 |
2 files changed, 3 insertions, 3 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)) diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index 7a47c46..6f02204 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -202,7 +202,7 @@ interacting with the Geiser REPL is at your disposal. :lighter (:eval (geiser-mode--lighter)) :group 'geiser-mode :keymap geiser-mode-map - (when geiser-mode (geiser-impl--set-buffer-implementation)) + (when geiser-mode (geiser-impl--set-buffer-implementation nil t)) (setq geiser-autodoc-mode-string "/A") (setq geiser-smart-tab-mode-string "/T") (geiser-company--setup (and geiser-mode geiser-mode-company-p)) |