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

From: Stefan Monnier <[email-masked]>
Date: Sun, 30 Jan 2022 21:34:31 -0500

> This was seven years ago, and apparently defclass still creates the
> undocumented -list-p functions.  Is the consensus that they should be
> removed?  Perhaps we should generate them as obsolete functions, to
> allow third-party usages of them to be notified?

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")))

-- Stefan