diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-06-13 21:26:53 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-06-20 19:01:20 -0700 |
commit | e22b072423a6764632328d4e0fecc06a6e7efe9b (patch) | |
tree | e1280eda53f6731f0c6af09580cbef6cd5d928f4 /lisp/emacs-lisp/comp.el | |
parent | 1a55e957ae57ec32ae960eabdb170b5b427392d4 (diff) | |
download | emacs-e22b072423a6764632328d4e0fecc06a6e7efe9b.tar.gz emacs-e22b072423a6764632328d4e0fecc06a6e7efe9b.tar.bz2 emacs-e22b072423a6764632328d4e0fecc06a6e7efe9b.zip |
Ensure navigating by paragraphs in Eshell stops at prompts and paragraphs
The previous implementation in 6ae2b74ed20 only stopped at prompts,
which isn't the right behavior (bug#61545).
* lisp/eshell/em-prompt.el (eshell-forward-paragraph)
(eshell-backward-paragraph): Reimplement to handle prompts and
paragraphs (the latter by calling the original 'forward-paragraph').
* test/lisp/eshell/em-prompt-tests.el
(em-prompt-test/next-previous-prompt/multiline): Rename.
(em-prompt-test/forward-backward-paragraph-1): New function.
(em-prompt-test/forward-backward-paragraph)
(em-prompt-test/forward-backward-paragraph/multiline): New tests.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions