]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/eieio*.el: Move the function defs to defclass.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 8 Jan 2015 20:47:32 +0000 (15:47 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 8 Jan 2015 20:47:32 +0000 (15:47 -0500)
commit6a67b20ddd458d71a1d63746504d91b1acea9b2b
tree38ff716a76899e0638246d28d6a465b8dcf50522
parent54181569d255322bdae321dc3fddeb465780fbe0
* lisp/emacs-lisp/eieio*.el: Move the function defs to defclass.

* lisp/emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
that creates functions, and most of the sanity checks.
Mark as obsolete the <class>-child-p function.
* lisp/emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
(eieio--class, eieio--object): Use cl-defstruct.
(eieio--object-num-slots): Define manually.
(eieio-defclass-autoload): Use eieio--class-make.
(eieio-defclass-internal): Rename from eieio-defclass.  Move all the
`(lambda...) definitions and most of the sanity checks to `defclass'.
Mark as obsolete the <class>-list-p function, the <class> variable and
the <initarg> variables.  Use pcase-dolist.
(eieio-defclass): New compatibility function.
* lisp/emacs-lisp/eieio-opt.el (eieio-build-class-alist)
(eieio-class-speedbar): Don't use eieio-default-superclass var.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/eieio-core.el
lisp/emacs-lisp/eieio-opt.el
lisp/emacs-lisp/eieio.el