diff options
| author | Stefan Monnier | 2015-01-08 15:47:32 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2015-01-08 15:47:32 -0500 |
| commit | 6a67b20ddd458d71a1d63746504d91b1acea9b2b (patch) | |
| tree | 38ff716a76899e0638246d28d6a465b8dcf50522 /lisp/ChangeLog | |
| parent | 54181569d255322bdae321dc3fddeb465780fbe0 (diff) | |
| download | emacs-6a67b20ddd458d71a1d63746504d91b1acea9b2b.tar.gz emacs-6a67b20ddd458d71a1d63746504d91b1acea9b2b.zip | |
* 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.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 66b3b8eb061..6d7bfae31ce 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,9 +1,27 @@ | |||
| 1 | 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code | ||
| 4 | that creates functions, and most of the sanity checks. | ||
| 5 | Mark as obsolete the <class>-child-p function. | ||
| 6 | * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove. | ||
| 7 | (eieio--class, eieio--object): Use cl-defstruct. | ||
| 8 | (eieio--object-num-slots): Define manually. | ||
| 9 | (eieio-defclass-autoload): Use eieio--class-make. | ||
| 10 | (eieio-defclass-internal): Rename from eieio-defclass. Move all the | ||
| 11 | `(lambda...) definitions and most of the sanity checks to `defclass'. | ||
| 12 | Mark as obsolete the <class>-list-p function, the <class> variable and | ||
| 13 | the <initarg> variables. Use pcase-dolist. | ||
| 14 | (eieio-defclass): New compatibility function. | ||
| 15 | * emacs-lisp/eieio-opt.el (eieio-build-class-alist) | ||
| 16 | (eieio-class-speedbar): Don't use eieio-default-superclass var. | ||
| 17 | |||
| 18 | 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 19 | |||
| 3 | * emacs-lisp/eieio-generic.el: New file. | 20 | * emacs-lisp/eieio-generic.el: New file. |
| 4 | * emacs-lisp/eieio-core.el: Move all generic function code to | 21 | * emacs-lisp/eieio-core.el: Move all generic function code to |
| 5 | eieio-generic.el. | 22 | eieio-generic.el. |
| 6 | (eieio--defmethod): Declare. | 23 | (eieio--defmethod): Declare. |
| 24 | |||
| 7 | * emacs-lisp/eieio.el: Require eieio-generic. Move all generic | 25 | * emacs-lisp/eieio.el: Require eieio-generic. Move all generic |
| 8 | function code to eieio-generic.el. | 26 | function code to eieio-generic.el. |
| 9 | * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to | 27 | * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to |