summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-23 17:18:51 +0100
committerjao <jao@gnu.org>2022-08-23 17:18:51 +0100
commitc681e2b2e92da2e856835449d7097bbe67394a52 (patch)
treebc1c6814b59dbd6812df777873840cf1e5b2156a /elisp/geiser-mode.el
parentecfbef1c771f3a5c34f46fb2b387b9669c661d2f (diff)
downloadgeiser-c681e2b2e92da2e856835449d7097bbe67394a52.tar.gz
geiser-c681e2b2e92da2e856835449d7097bbe67394a52.tar.bz2
Interactive REPL start in C-c C-k and C-c C-l
Should address, sort of, issue #46
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."