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.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 0cee34f..2f8988d 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -863,7 +863,7 @@ With a prefix argument, force exit by killing the scheme process."
(defun geiser-repl-previous-prompt (n)
(interactive "p")
(when (> n 0)
- (previous-line)
+ (forward-line -1)
(end-of-line)
(when (re-search-backward comint-prompt-regexp nil 'go n)
(goto-char (match-end 0)))))