mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 14:30:43 -08:00
This fixes a regression introduced during Emacs 29's development. * lisp/eshell/esh-arg.el (eshell-parse-argument): Handle 'eshell-empty-token' as the result of an argument-parsing hook. (eshell-parse-argument-hook): Document 'eshell-empty-token'. (eshell-parse-backslash): Return 'eshell-empty-token' when encountering an escaped newline. * test/lisp/eshell/eshell-tests.el (eshell-test/escape-nonspecial) (eshell-test/escape-nonspecial-unicode) (eshell-test/escape-nonspecial-quoted) (eshell-test/escape-special-quoted): Move from here... * test/lisp/eshell/esh-arg-tests.el (esh-arg-test/escape/nonspecial) (esh-arg-test/escape/nonspecial-unicode) (esh-arg-test/escape-quoted/nonspecial) (esh-arg-test/escape-quoted/special): ... to here. (esh-arg-test/escape/special, esh-arg-test/escape/newline) (esh-arg-test/escape-quoted/newline): New tests. * doc/misc/eshell.texi (Arguments): Explain escaping logic in more detail (bug#59622). |
||
|---|---|---|
| .. | ||
| em-alias-tests.el | ||
| em-basic-tests.el | ||
| em-dirs-tests.el | ||
| em-extpipe-tests.el | ||
| em-glob-tests.el | ||
| em-hist-tests.el | ||
| em-ls-tests.el | ||
| em-pred-tests.el | ||
| em-script-tests.el | ||
| em-tramp-tests.el | ||
| esh-arg-tests.el | ||
| esh-cmd-tests.el | ||
| esh-ext-tests.el | ||
| esh-io-tests.el | ||
| esh-opt-tests.el | ||
| esh-proc-tests.el | ||
| esh-util-tests.el | ||
| esh-var-tests.el | ||
| eshell-tests-helpers.el | ||
| eshell-tests.el | ||