mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04: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
|
|
@ -274,7 +274,8 @@ simply inserts a newline."
|
|||
(ielm-send-input for-effect)
|
||||
(when (and ielm-dynamic-multiline-inputs
|
||||
(save-excursion
|
||||
(beginning-of-line)
|
||||
(let ((inhibit-field-text-motion t))
|
||||
(beginning-of-line))
|
||||
(looking-at-p comint-prompt-regexp)))
|
||||
(save-excursion
|
||||
(goto-char (ielm-pm))
|
||||
|
|
|
|||
Loading…
Reference in a new issue