summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-15 15:27:20 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-15 15:27:20 +0200
commit50d81a75a81994e09b4fa52d1e34bef45ac21f9c (patch)
tree8e46435bf00b71377dbfebc88ebe37bfdff21710 /elisp/geiser-mode.el
parent3e97539c10bee3aba376b37e988d2570f071965c (diff)
downloadgeiser-guile-50d81a75a81994e09b4fa52d1e34bef45ac21f9c.tar.gz
geiser-guile-50d81a75a81994e09b4fa52d1e34bef45ac21f9c.tar.bz2
Bug fix: compile-and-go-to-repl should work now.
Diffstat (limited to 'elisp/geiser-mode.el')
-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."