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:
@@ -8228,7 +8228,11 @@ rests."
|
||||
(let ((newpos
|
||||
(save-excursion
|
||||
(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)
|
||||
;; With bidi reordering, we may not be at bol,
|
||||
;; so make sure we are.
|
||||
|
||||
Reference in New Issue
Block a user