summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/generate-lisp-file.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2024-03-07 16:58:15 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2024-03-08 02:04:57 -0500
commit7c127fc965fbe781141a6bccbe0b620dc7862b1d (patch)
tree85165bede4b72d3c6bc7966ed080b60bf516eb4f /lisp/emacs-lisp/generate-lisp-file.el
parent76e9c761a45e0157a8ca43eaaf928385d8e0c228 (diff)
downloademacs-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/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions