emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0954689cb3: ; Fix some invalid Eshell syntax in an example


From: Jim Porter
Subject: master 0954689cb3: ; Fix some invalid Eshell syntax in an example
Date: Tue, 18 Oct 2022 00:26:41 -0400 (EDT)

branch: master
commit 0954689cb3243e3af4b0c12c08bdcad608fd8433
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>

    ; 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 d518eafd72..2945c05e85 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 e63c7742bc..b48aeee008 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.
 
 +++



reply via email to

[Prev in Thread] Current Thread [Next in Thread]