mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 08:20:41 -08:00
* lisp/emacs-lisp/eieio-core.el (eieio--class): Change field names and order to match those of cl--class; use cl--slot for both instance slots and class slots. (eieio--object-num-slots): Use cl-struct-slot-info. (eieio--object-class): Rename from eieio--object-class-object. (eieio--object-class-name): Remove. (eieio-defclass-internal): Adjust to new slot representation. Store doc in class rather than in `variable-documentation'. (eieio--perform-slot-validation-for-default): Change API to take a slot object. (eieio--slot-override): New function. (eieio--add-new-slot): Rewrite. (eieio-copy-parents-into-subclass): Rewrite. (eieio--validate-slot-value, eieio--validate-class-slot-value) (eieio-oref-default, eieio-oset-default) (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new slot representation. (eieio--c3-merge-lists): Simplify. (eieio--class/struct-parents): New function. (eieio--class-precedence-bfs): Use it. * lisp/emacs-lisp/eieio.el (with-slots): Use macroexp-let2. (object-class-fast): Change recommend replacement. (eieio-object-class): Rewrite. (slot-exists-p): Adjust to new slot representation. (initialize-instance): Adjust to new slot representation. (object-write): Adjust to new slot representation. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): Manually map initargs to slot names. (eieio-persistent-validate/fix-slot-value): Adjust to new slot representation. * lisp/emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-specializers): Extract from eieio--generic-static-symbol-generalizer. (eieio--generic-static-symbol-generalizer): Use it. * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-create) (eieio-object-value-get): Adjust to new slot representation. * lisp/emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots): Declare to silence warnings. (data-debug-insert-object-button): Avoid `object-slots'. (data-debug/eieio-insert-slots): Adjust to new slot representation. * lisp/emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function extracted from eieio-help-class-slots. (eieio-help-class-slots): Use it. Adjust to new slot representation. * test/automated/eieio-test-methodinvoke.el (make-instance): Use new-style `subclass' specializer for a change. * test/automated/eieio-test-persist.el (persist-test-save-and-compare): Adjust to new slot representation. * test/automated/eieio-tests.el (eieio-test-17-virtual-slot): Don't use initarg in `oset'. (eieio-test-32-slot-attribute-override-2): Adjust to new slot representation. * lisp/emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'. |
||
|---|---|---|
| .. | ||
| data | ||
| add-log-tests.el | ||
| advice-tests.el | ||
| bytecomp-tests.el | ||
| calc-tests.el | ||
| cl-generic-tests.el | ||
| cl-lib-tests.el | ||
| comint-testsuite.el | ||
| compile-tests.el | ||
| completion-tests.el | ||
| core-elisp-tests.el | ||
| data-tests.el | ||
| dbus-tests.el | ||
| decoder-tests.el | ||
| descr-text-test.el | ||
| eieio-test-methodinvoke.el | ||
| eieio-test-persist.el | ||
| eieio-tests.el | ||
| electric-tests.el | ||
| ert-tests.el | ||
| ert-x-tests.el | ||
| eshell.el | ||
| f90.el | ||
| file-notify-tests.el | ||
| files.el | ||
| finalizer-tests.el | ||
| flymake-tests.el | ||
| fns-tests.el | ||
| font-parse-tests.el | ||
| generator-tests.el | ||
| gnus-tests.el | ||
| help-fns.el | ||
| icalendar-tests.el | ||
| imenu-test.el | ||
| info-xref.el | ||
| inotify-test.el | ||
| let-alist.el | ||
| lexbind-tests.el | ||
| libxml-tests.el | ||
| Makefile.in | ||
| man-tests.el | ||
| mule-util.el | ||
| newsticker-tests.el | ||
| occur-tests.el | ||
| package-test.el | ||
| pcase-tests.el | ||
| print-tests.el | ||
| process-tests.el | ||
| python-tests.el | ||
| reftex-tests.el | ||
| regexp-tests.el | ||
| ruby-mode-tests.el | ||
| sasl-scram-rfc-tests.el | ||
| seq-tests.el | ||
| subr-x-tests.el | ||
| subword-tests.el | ||
| syntax-tests.el | ||
| thingatpt.el | ||
| tildify-tests.el | ||
| timer-tests.el | ||
| tramp-tests.el | ||
| undo-tests.el | ||
| url-future-tests.el | ||
| url-util-tests.el | ||
| vc-bzr.el | ||
| vc-tests.el | ||
| xml-parse-tests.el | ||
| zlib-tests.el | ||