• Stefan Monnier's avatar
    * lisp/emacs-lisp/cl*.el: Use define-inline and move some code · 61b4c22c
    Stefan Monnier authored
    * lisp/emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
    * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
    of the parent.
    (cl--assertion-failed): New function.
    (cl-assertion-failed): Move in from cl-lib.el.
    * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
    as children of its parents.
    (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
    (cl-typep): Reimplement using define-inline.
    (cl-assert): Use cl--assertion-failed.
    (cl-struct-slot-value): Use define-inline.
cl-macs.el 119 KB