1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-06 07:31:13 -08:00
emacs/test/lisp/eshell
Jim Porter a3a7279a4a Improve the behavior of concatenating parts of Eshell arguments
Previously, concatenating a list to a string would first convert the
list to a string.  Now, the string is concatenated with the last
element of the list.

* lisp/eshell/esh-util.el (eshell-to-flat-string): Make obsolete.

* lisp/eshell/esh-arg.el (eshell-concat, eshell-concat-1): New
functions.
(eshell-resolve-current-argument): Use 'eshell-concat'.

* test/lisp/eshell/esh-var-tests.el (esh-var-test/interp-concat-cmd):
Add check for concatenation of multiline output of subcommands.
(esh-var-test/quoted-interp-concat-cmd): New test.

* test/lisp/eshell/em-extpipe-tests.el (em-extpipe-test-13): Use
'eshell-concat'.

* doc/misc/eshell.texi (Expansion): Document this behavior.

* etc/NEWS: Announce the change (bug#55236).
2022-05-03 18:23:02 +02:00
..
em-basic-tests.el Add tests for Eshell's umask command 2022-03-29 16:50:45 +02:00
em-extpipe-tests.el Improve the behavior of concatenating parts of Eshell arguments 2022-05-03 18:23:02 +02:00
em-glob-tests.el Add unit tests and documentation for Eshell pattern-based globs 2022-04-17 10:27:39 +03:00
em-hist-tests.el
em-ls-tests.el
em-pred-tests.el Handle escaped characters in Eshell argument predicates/modifiers 2022-05-01 20:41:21 +02:00
em-tramp-tests.el Adapt em-tramp-tests.el 2022-02-06 18:50:16 +01:00
esh-opt-tests.el Treat "-" as a positional arg in 'eshell-eval-using-options' 2022-01-25 13:28:48 +01:00
esh-proc-tests.el Fix esh-proc-tests on macOS 2022-03-13 11:01:59 +01:00
esh-var-tests.el Improve the behavior of concatenating parts of Eshell arguments 2022-05-03 18:23:02 +02:00
eshell-tests-helpers.el Handle escaped characters in Eshell special references (e.g. buffers) 2022-05-01 20:41:23 +02:00
eshell-tests.el Handle escaped characters in Eshell special references (e.g. buffers) 2022-05-01 20:41:23 +02:00