]> git.eshelyaron.com Git - emacs.git/commit
Support multi-line prompt and contents in previous-line-or-history-element.
authorJuri Linkov <juri@linkov.net>
Wed, 27 Jan 2021 18:08:43 +0000 (20:08 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 27 Jan 2021 18:08:43 +0000 (20:08 +0200)
commit85f8b575001ec8c3503d7e8746862e49c0c7a3bf
treefc6e0440ddc3020b3d9c650a4c939867786ac6bb
parent2d8daac122e71dd5ee69a991c9c1dd0d31c2433f
Support multi-line prompt and contents in previous-line-or-history-element.

* lisp/simple.el (previous-line-or-history-element): Move to the
beginning of minibuffer contents if there is editable minibuffer contents
on the same line after moving point to the prompt (bug#46033).
Fix minimal old-column from 0 to 1 to put point at the beginning of
minibuffer contents after going to the previous history element.
lisp/simple.el