]> git.eshelyaron.com Git - emacs.git/commit
Skip shell prompt on current line in Eshell even if it's protected
authorSteven Allen <steven@stebalien.com>
Sat, 15 Feb 2020 23:13:59 +0000 (15:13 -0800)
committerEli Zaretskii <eliz@gnu.org>
Fri, 21 Feb 2020 08:51:51 +0000 (10:51 +0200)
commitcd6a9b8f65c10c7f956c6b17fd3f806b61bb3199
treef440271645cb680266704b7aad4e20ce65fad125
parent9f0852474810311fd2b26fa3756ab6d816016389
Skip shell prompt on current line in Eshell even if it's protected

When the eshell prompt is protected (e.g., with rear non-sticky,
inhibited movements, etc.), 'beginning-of-line' won't move to the
actual beginning of the line and therefore won't skip over the
prompt.
* lisp/eshell/em-prompt.el (eshell-previous-prompt): Use
'forward-line' to go to the beginning of the line, even if it's
protected.  (Bug#39627)
lisp/eshell/em-prompt.el