mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix behavior for ielm-dynamic-multiline-inputs (bug#80123)
* lisp/ielm.el (ielm-return): Navigate to before the prompt when looking for prompt (bug#80123).
This commit is contained in:
parent
f41a594bf3
commit
8e4f96cffb
1 changed files with 2 additions and 1 deletions
|
|
@ -274,7 +274,8 @@ simply inserts a newline."
|
||||||
(ielm-send-input for-effect)
|
(ielm-send-input for-effect)
|
||||||
(when (and ielm-dynamic-multiline-inputs
|
(when (and ielm-dynamic-multiline-inputs
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(beginning-of-line)
|
(let ((inhibit-field-text-motion t))
|
||||||
|
(beginning-of-line))
|
||||||
(looking-at-p comint-prompt-regexp)))
|
(looking-at-p comint-prompt-regexp)))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (ielm-pm))
|
(goto-char (ielm-pm))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue