[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Easy to add with push but not to the end of a list
From: |
Heime |
Subject: |
RE: [External] : Easy to add with push but not to the end of a list |
Date: |
Mon, 28 Nov 2022 03:45:05 +0000 |
------- Original Message -------
On Monday, November 28th, 2022 at 2:43 AM, Drew Adams <drew.adams@oracle.com>
wrote:
> > Although it is easy to add to a list using push, it currently looks
> > hideous to be able to
> > add to the end of a list. Would be appreciated if emacs could have a
> > function as simple to add to the end of a list?
>
>
> `add-to-list' with optional arg APPEND?
The problem is that add-to-list enforces uniqueness. Thusly, add-to-list is
not
an actual append, but a constrained append.
> I wonder how you try to find such info. Did you even look in the Elisp
> manual?`
> add-to-list' is in the same node as `push', node` List Variables'.
>
> https://www.gnu.org/software/emacs/manual/html_node/elisp/List-Variables.html
- Easy to add with push but not to the end of a list, Heime, 2022/11/27
- RE: [External] : Easy to add with push but not to the end of a list, Drew Adams, 2022/11/27
- Re: Easy to add with push but not to the end of a list, Stefan Monnier, 2022/11/28
- Re: Easy to add with push but not to the end of a list, Emanuel Berg, 2022/11/28
- Re: Easy to add with push but not to the end of a list, Heime, 2022/11/28
- Re: Easy to add with push but not to the end of a list, Stefan Monnier, 2022/11/28
- Re: Easy to add with push but not to the end of a list, Emanuel Berg, 2022/11/30
- Re: Easy to add with push but not to the end of a list, tomas, 2022/11/30