[Top][All Lists]

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

Re: Add-to-list or setq append...

From: Andrea Crotti
Subject: Re: Add-to-list or setq append...
Date: Wed, 04 Aug 2010 14:57:34 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin)

Andrea Crotti <> writes:

> it actually not add it ONLY if they're really equal, which is desirable
> in my opinion.
> What's the point in having twice the same cons in auto-mode-alist?
> Then the real difference is that I add in the end instead of at the
> beginning, and in that case I don't shadow an already present value...

And also why not using some kind of union when merging two lists.
There is a union defined in cl-seq, that for example would suffice the
ugly double elements in the same list...

reply via email to

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