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 13:16:26 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

() Omar Polo <op@omarpolo.com>
() Wed, 09 Dec 2020 12:05:17 +0100

   Oh my, I feel so stupid now...

No worries.

   I was under the (wrong) assumption that a destructive
   function will always modify the list, when it's not the case.
   I needed to setq the result of cl-delete-if to the list
   itself to cover all the cases.

But then you wouldn't have had the opportunity to read the
docstring (again?).  :-D

   Thanks!

Emacs is self-documenting but unfortunately not self-explanatory
(yet).  Thanks go to the Emacs hackers who write docstrings.

-- 
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]