diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-07 17:45:41 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-08 02:04:59 -0500 |
commit | 945af4d9d11192d262f4fabbc66ee83f5beefc86 (patch) | |
tree | 9c96afcde0a495d5b6f42cd6b70a30216754ec1f /lisp/emacs-lisp/lisp-mnt.el | |
parent | 7c127fc965fbe781141a6bccbe0b620dc7862b1d (diff) | |
download | emacs-945af4d9d11192d262f4fabbc66ee83f5beefc86.tar.gz emacs-945af4d9d11192d262f4fabbc66ee83f5beefc86.tar.bz2 emacs-945af4d9d11192d262f4fabbc66ee83f5beefc86.zip |
eieio-core.el: Always put a parent in the parents of a class
* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal):
Always put a parent in the `parents` slot of the class.
* lisp/emacs-lisp/eieio.el (eieio-class-parents): Remove the
`eieio-default-superclass` if it's the only parent.
(child-of-class-p): Handle all classes in the parents.
(eieio-default-superclass): Adjust docstring.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions