help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Surprising behaviour of 'append' with strings


From: Eli Zaretskii
Subject: Re: Surprising behaviour of 'append' with strings
Date: Sun, 06 Nov 2022 14:37:00 +0200

> Date: Sun, 6 Nov 2022 12:05:07 +0100
> From: "R. Diez" <rdiezmail-emacs@yahoo.de>
> 
> I need a routine like this:
> 
> (my-append
>    "1"
>    (list "2" "3")
>    "4"
> )
> 
> The result should be:
>   ("1" "2" "3" "4")

You want 'mapconcat', I think.  'append' doesn't "append strings", it
does something very different.



reply via email to

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