summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-repl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index c5c0490..71385eb 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -607,7 +607,9 @@ module command as a string")
(if (geiser-repl--is-history-input)
(geiser-repl--grab-input)
(ignore-errors (compile-goto-error))))
- ((progn (end-of-line) (<= (geiser-repl--nesting-level) 0))
+ ((let ((inhibit-field-text-motion t))
+ (end-of-line)
+ (<= (geiser-repl--nesting-level) 0))
(geiser-repl--send-input))
(t (goto-char p)
(if geiser-repl-auto-indent-p