summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-23 22:54:13 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-23 22:54:13 +0200
commit5315da0834c55cfff5f8cac50984ce73301a0d97 (patch)
tree06b9bb5351e0200d2bc4334011ea6aae02701173 /elisp/geiser-mode.el
parent93f86132988ec2c3bf5bfdf85e996e52d812924f (diff)
downloadgeiser-5315da0834c55cfff5f8cac50984ce73301a0d97.tar.gz
geiser-5315da0834c55cfff5f8cac50984ce73301a0d97.tar.bz2
REPL: change current module command and better bindings.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el3
1 files changed, 2 insertions, 1 deletions
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."