]> git.eshelyaron.com Git - emacs.git/commit
Make eshell-next-prompt more reliable (Bug#27405)
authorNoam Postavsky <npostavs@gmail.com>
Wed, 12 Jul 2017 02:11:19 +0000 (22:11 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 21 Jul 2017 02:40:34 +0000 (22:40 -0400)
commit7a0ca227af1081ca7ada2e82a87b1a575ef04759
tree916dd74fecf89ab91a1acc416b9616b863f23b66
parentffde1e9b9e9aa763e18f009e0d54345f509134db
Make eshell-next-prompt more reliable (Bug#27405)

* lisp/eshell/em-prompt.el (eshell-next-prompt): Search for
`eshell-prompt-regexp' (and `read-only' text-property if
`eshell-highlight-prompt' is set) rather than trying to use
`forward-paragraph'.
(eshell-previous-prompt): Don't count prompt on current line.
lisp/eshell/em-prompt.el