From 6f92b8d92be72a5cc54f7ccb5ed9cef15de33296 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 23 Jun 2010 22:54:13 +0200 Subject: REPL: change current module command and better bindings. --- elisp/geiser-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elisp/geiser-mode.el') diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index 34e7e2b..72d3536 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -155,7 +155,8 @@ With prefix, recursively macro-expand the resulting expression." "Switches to Geiser REPL. With prefix, try to enter the current's buffer module." (interactive "P") - (if arg (switch-to-geiser-module) (switch-to-geiser))) + (if arg (switch-to-geiser-module (geiser-eval--get-module)) + (switch-to-geiser))) (defun geiser-mode-switch-to-repl-and-enter () "Switches to Geiser REPL and enters current's buffer module." -- cgit v1.2.3