Make move-end-of-line in minibuffer consistent (bug#65980)
* lisp/simple.el (move-end-of-line): Always move to eol when invoking `C-e' from within the minibuffer's prompt string.
This commit is contained in:
parent
755ae813a6
commit
33ff4fed03
1 changed files with 5 additions and 1 deletions
|
@ -8228,7 +8228,11 @@ rests."
|
||||||
(let ((newpos
|
(let ((newpos
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(let ((goal-column 0)
|
(let ((goal-column 0)
|
||||||
(line-move-visual nil))
|
(line-move-visual nil)
|
||||||
|
;; Always move to eol when invoking `C-e' from
|
||||||
|
;; within the minibuffer's prompt string (see
|
||||||
|
;; bug#65980).
|
||||||
|
(inhibit-field-text-motion (minibufferp)))
|
||||||
(and (line-move arg t)
|
(and (line-move arg t)
|
||||||
;; With bidi reordering, we may not be at bol,
|
;; With bidi reordering, we may not be at bol,
|
||||||
;; so make sure we are.
|
;; so make sure we are.
|
||||||
|
|
Loading…
Add table
Reference in a new issue