summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 615bbdd..bc074f0 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -267,9 +267,7 @@ With prefix, recursively macro-expand the resulting expression."
With prefix, try to enter the current buffer's module."
(interactive "P")
- (if arg
- (switch-to-geiser-module (geiser-eval--get-module) (current-buffer))
- (switch-to-geiser nil nil (current-buffer))))
+ (geiser-repl--switch-to-repl arg))
(defun geiser-mode-switch-to-repl-and-enter ()
"Switches to Geiser REPL and enters current buffer's module."