summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r--elisp/geiser-repl.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 2f8988d..bbf83fa 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -863,8 +863,7 @@ With a prefix argument, force exit by killing the scheme process."
(defun geiser-repl-previous-prompt (n)
(interactive "p")
(when (> n 0)
- (forward-line -1)
- (end-of-line)
+ (end-of-line 0)
(when (re-search-backward comint-prompt-regexp nil 'go n)
(goto-char (match-end 0)))))