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

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

bug#33998: 27.0.50; cl-delete does not delete the first list element


From: Drew Adams
Subject: bug#33998: 27.0.50; cl-delete does not delete the first list element
Date: Mon, 7 Jan 2019 10:14:19 -0800 (PST)

> > > So, cumbersome as it is, you should always use:
> >                                ^^^^^^^^^^^^^
> > > (setq seq (cl-delete thing seq))
> >
> > FWIW, this is not really true.
> >
> > `cl-delete' deletes THING from the
> > _value_ of SEQ.  You might or you
> > might not want variable SEQ to have
> > the updated value.
> 
> But this is what he wanted, so what's
> the point in making this more confusing
> than it needs to be?

It's enough to suggest that he might want
to do that, and point to the manual for
explanation.  It's the "always" that's
misleading.





reply via email to

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