diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-07 16:58:15 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-08 02:04:57 -0500 |
commit | 7c127fc965fbe781141a6bccbe0b620dc7862b1d (patch) | |
tree | 85165bede4b72d3c6bc7966ed080b60bf516eb4f /lisp/emacs-lisp/lisp-mnt.el | |
parent | 76e9c761a45e0157a8ca43eaaf928385d8e0c228 (diff) | |
download | emacs-7c127fc965fbe781141a6bccbe0b620dc7862b1d.tar.gz emacs-7c127fc965fbe781141a6bccbe0b620dc7862b1d.tar.bz2 emacs-7c127fc965fbe781141a6bccbe0b620dc7862b1d.zip |
Make "parentless" structs inherit from their builtin type
* lisp/emacs-lisp/cl-preloaded.el (cl--struct-register-child):
Register child only in struct parents.
(cl-struct-define): Put the "type" as parent of parentless :type structs.
Copy slots only from struct parent classes.
(cl-structure-object): Set (manually) its parent to `record`
and remove assertion that it has no parents.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions