1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
emacs/test
Stefan Monnier c4e2be4587 * lisp/emacs-lisp/eieio*.el: Align a bit better with CLOS
* lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag): Fix copy&paste
error (semanticdb-project-database => sym).  Avoid eieio--class-public-a
when possible.

* lisp/emacs-lisp/eieio-base.el (make-instance): Add a method here rather
than on eieio-constructor.

* lisp/emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
(eieio-class-name): Make it do what the docstring claims.
(eieio-defclass-internal): Simplify since `prots' isn't used any more.
(eieio--slot-name-index): Simplify accordingly.
(eieio-barf-if-slot-unbound): Pass the class object rather than its
name to `slot-unbound'.

* lisp/emacs-lisp/eieio.el (defclass): Use make-instance rather than
eieio-constructor.
(set-slot-value): Mark as obsolete.
(eieio-object-class-name): Improve call to eieio-class-name.
(eieio-slot-descriptor-name, eieio-class-slots): New functions.
(object-slots): Use it.  Declare obsolete.
(eieio-constructor): Merge it with `make-instance'.
(initialize-instance): Use `dolist'.
(eieio-override-prin1, eieio-edebug-prin1-to-string):
Use eieio--class-print-name.

* test/automated/eieio-test-methodinvoke.el (make-instance): Add methods
here rather than on eieio-constructor.
2015-02-16 02:22:46 -05:00
..
automated * lisp/emacs-lisp/eieio*.el: Align a bit better with CLOS 2015-02-16 02:22:46 -05:00
cedet Update copyright year to 2015 2015-01-01 14:26:41 -08:00
indent * indent/shell.sh (bar): Use '[ $# -eq 0 ]', not '[ $# == 0 ]'. 2015-01-24 19:02:07 -08:00
BidiCharacterTest.txt Added initial version of biditest.el and Unicode data file it needs. 2014-09-06 17:35:55 +03:00
biditest.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog * lisp/emacs-lisp/eieio*.el: Align a bit better with CLOS 2015-02-16 02:22:46 -05:00
README
redisplay-testsuite.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rmailmm.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00

This directory contains files intended to test various aspects of
Emacs's functionality.  Please help add tests!

(Also, see etc/compilation.txt for compilation mode font lock tests.)