[Top][All Lists]

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

Re: [ELPA] New package: transient

From: Richard Stallman
Subject: Re: [ELPA] New package: transient
Date: Sun, 03 May 2020 23:07:15 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > What's an alist?  It's a list.  What's a (true)
  > list?  It's a sequence.

  > `copy-sequence' (aka `copy-seq') also copies an
  > alist.

'copy-sequence' is usually not an adequate way to copy an alist.
It copies the backbone but not the associations.
When you modify the associations -- which you presumably intend to do --
the two copies will both be changed.

To copy an alist properly, you need to use 'copy-alist',
and that is why we added that function.

Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)

reply via email to

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