summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-mode.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 23a599d..e19cb68 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -115,7 +115,11 @@ With prefix, goes to the REPL buffer afterwards (as
(end-of-defun)
(let ((end (point)))
(beginning-of-defun)
- (geiser-debug--send-region t (point) end and-go t))))
+ (geiser-debug--send-region t
+ (point)
+ end
+ (and and-go 'geiser--go-to-repl)
+ t))))
(defun geiser-compile-definition-and-go ()
"Compile the current definition in the Geiser REPL and visit it afterwads."