mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +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)
|
||||
(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