diff options
author | jao <jao@gnu.org> | 2022-10-07 01:02:01 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-10-07 01:02:01 +0100 |
commit | b734a239ff9b8fde292e956174fd3356583fc76f (patch) | |
tree | 4876265adf20c167a7732229ffddff58dc252d4f /elisp | |
parent | 486c39cfbdf1789fe493535b7e0ae72ff518e53e (diff) | |
download | geiser-b734a239ff9b8fde292e956174fd3356583fc76f.tar.gz geiser-b734a239ff9b8fde292e956174fd3356583fc76f.tar.bz2 |
Fix for "and-go" command variants
Should address issue #55 for all implementations.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-repl.el | 4 |
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)))) |