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

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

Re: Locating file via load-path


From: Arash Esbati
Subject: Re: Locating file via load-path
Date: Sun, 11 Aug 2024 21:49:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> Why not nconc?

The use case I have to deal with runs inside hooks which run more than
once, and I don't want to pollute the target variable with same entry
over and over again.

Of course I can check if the entry is already there, but I think it
would be convenient if `cl-pushnew' could be a full replacement for
`add-to-list' and one would use only the former in Lisp and be done with
it.

Best, Arash



reply via email to

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