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

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

Re: cl-delete-if vs list of overlays


From: Thien-Thi Nguyen
Subject: Re: cl-delete-if vs list of overlays
Date: Wed, 09 Dec 2020 05:17:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

() Omar Polo <op@omarpolo.com>
() Wed, 09 Dec 2020 10:53:26 +0100

   Why is cl-delete-if not removing items from the list?  (setq
   delp t) evaluates to t, so it should delete.  cl-delete-if a
   destructive function.  This is what I'm not getting.

On my system, ‘C-h f cl-delete-if RET’ sez:

 This is a destructive function; it reuses the storage of SEQ
 whenever possible.

So, your question becomes: When is it NOT possible to reuse the
storage of SEQ in the process of deleting an item?

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2020) Software Libero
   (pcase (context query)               ;       = Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

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