]> git.eshelyaron.com Git - emacs.git/commit
(built-in-class--make): Take list of types rather than classes
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 25 Mar 2025 06:09:48 +0000 (02:09 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 25 Mar 2025 18:20:07 +0000 (19:20 +0100)
commitf3af5f8a4a0ec2a7a95cd2fc8d577940b6cf2584
tree9d52dcb026cc0e9b3e7f5b45d2993fa189f26021
parent641cf8186af5e03af1b716a24726bef24c108d89
(built-in-class--make): Take list of types rather than classes

Consolidate the conversion from types to classes into
`built-in-class--make` instead of duplicating it in ever caller.

* lisp/emacs-lisp/cl-preloaded.el (built-in-class--make): Take list of
types rather than classes.
(cl--define-built-in-type): Simplify accordingly.

(cherry picked from commit 7ec0ee742da17864b554e2cf4384d2a12baaf1e8)
lisp/emacs-lisp/cl-preloaded.el