From 0954689cb3243e3af4b0c12c08bdcad608fd8433 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Mon, 17 Oct 2022 21:25:37 -0700 Subject: [PATCH] ; Fix some invalid Eshell syntax in an example * doc/misc/eshell.texi (Expansion): * etc/NEWS: Fix invalid Eshell syntax. --- doc/misc/eshell.texi | 2 +- etc/NEWS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index d518eafd729..2945c05e85d 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi @@ -1176,7 +1176,7 @@ a number if possible. @item one or both (non-@code{nil}) lists Concatenate ``adjacent'' elements of each value (possibly converting -back to a number as above). For example, @samp{$list("a" "b")c} +back to a number as above). For example, @samp{$(list "a" "b")c} returns @samp{("a" "bc")}. @item anything else diff --git a/etc/NEWS b/etc/NEWS index e63c7742bcd..b48aeee008b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2606,7 +2606,7 @@ otherwise be returned. *** Concatenating Eshell expansions now works more similarly to other shells. When concatenating an Eshell expansion that returns a list, "adjacent" elements of each operand are now concatenated together, -e.g. '$list("a" "b")c' returns '("a" "bc")'. See the "(eshell) +e.g. '$(list "a" "b")c' returns '("a" "bc")'. See the "(eshell) Expansion" node in the Eshell manual for more details. +++ -- 2.39.5