From a92b7155cf43e0ca4278286455ec4e60186eaf93 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 12 Mar 2015 03:18:47 +0100 Subject: Fix for RET with point at the beginning of line after M-p --- elisp/geiser-repl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'elisp') 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 -- cgit v1.2.3