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
commit3c3067218cd33d2686ef6d507f8a4a7ab44dc961 (patch)
treeb2d756f630462221de644c38eb42d6d6add214c3 /elisp/geiser-mode.el
parent3338f98e70b79eeba1c7c14302e35d6cab298350 (diff)
downloadgeiser-3c3067218cd33d2686ef6d507f8a4a7ab44dc961.tar.gz
geiser-3c3067218cd33d2686ef6d507f8a4a7ab44dc961.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."