Subject: Re: bug#18494: 24.4.50; defclass creates undocumented *-list-p function

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 31 Jan 2022 16:33:19 +0100

Stefan Monnier <[email-masked]> writes:

> AFAIK that's already what we do:
>
>     (when eieio-backward-compatibility
>       (let ((csym (intern (concat (symbol-name cname) "-list-p"))))
>         (defalias csym
>         [...]
>         (make-obsolete csym (format
>                              "use (cl-typep ... \\='(list-of %s)) instead"
>                              cname)
>                        "25.1")))

Sorry; should have checked first.

Eric Ludlam <[email-masked]> writes:

>  Could someone explain (and show) to me in detail how/where these
>  foo-list-p are used in relation to EIEIO?
>
> Sure, in ede/base.el, you will find these lines:

[...]

> for "targets: you will see:
>
> :type ede-target-list
>
> which will expand to ede-target-list-p, which is a test for a list of type ede-target.

And this has been fixed, so I guess there's nothing to do here (beyond
removing the -list-p predicates when we start removing things obsoleted
in 25.1 in a couple of years), and I'm therefore closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no