From: Jim Porter Date: Tue, 18 Oct 2022 04:25:37 +0000 (-0700) Subject: ; Fix some invalid Eshell syntax in an example X-Git-Tag: emacs-29.0.90~1616^2~559 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0954689cb3243e3af4b0c12c08bdcad608fd8433;p=emacs.git ; Fix some invalid Eshell syntax in an example * doc/misc/eshell.texi (Expansion): * etc/NEWS: Fix invalid Eshell syntax. --- 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. +++