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

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

Re: delq() without side effect


From: Joost Kremers
Subject: Re: delq() without side effect
Date: 3 Oct 2008 13:45:54 GMT
User-agent: slrn/0.9.9 (Linux)

Nordlöw wrote:
> Is there an, if possible built-in (efficient), function that works
> like delq() but instead of modifying its second argument returns the
> result (pure function)?

remq.

note: delq also returns the result. (in fact, the doc says that you should
always use (setq lst (delq elt lst)).


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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