]> git.eshelyaron.com Git - emacs.git/commit
* Define 'cl--type-hierarchy' and compute 'cl--typeof-types' from it
authorAndrea Corallo <acorallo@gnu.org>
Thu, 15 Feb 2024 15:08:00 +0000 (16:08 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 2 Mar 2024 06:28:07 +0000 (07:28 +0100)
commitc0d99ba16d1062e3bd495ba907a7e0e646bed597
tree1a9e60da5e981a205424b16a2bdfe1dd5f3841c3
parentb01e2fca88826aead447e33511571c00b5ce3ee8
* Define 'cl--type-hierarchy' and compute 'cl--typeof-types' from it

* lisp/emacs-lisp/cl-preloaded.el (cl--type-hierarchy)
(cl--direct-supertypes-of-type, cl--direct-subtypes-of-type): Define.
(cl--typeof-types): Compute automatically.
(cl--supertypes-for-typeof-types): New function.

(cherry picked from commit 8a63e50036f0d4284f21660efb5dd20b63748d1b)
lisp/emacs-lisp/cl-preloaded.el