summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-repl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 6f69233..690b4ba 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -1078,8 +1078,8 @@ If no REPL is running, execute `geiser' to start a fresh one."
(geiser-repl-switch nil nil (or buffer (current-buffer))))
(geiser-repl--send cmd)))
-(defun geiser-repl--switch-to-repl (arg)
- (if arg
+(defun geiser-repl--switch-to-repl (&optional and-module)
+ (if and-module
(geiser-repl-switch-to-module (geiser-eval--get-module) (current-buffer))
(geiser-repl-switch nil nil (current-buffer))))