1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 14:02:07 -08:00
emacs/test/automated
Stefan Monnier e0be229d5f EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc
* lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.

* lisp/emacs-lisp/eieio-core.el (eieio--check-type): Remove.
Use cl-check-type everywhere instead.
(eieio-class-object): Remove, use find-class instead when needed.
(class-p): Don't inline.
(eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
such as eieio classes, as objects.  Don't inline.
(object-p): Mark as obsolete.
(eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
(eieio--generic-tagcode): Avoid `class-p'.
(eieio-make-class-predicate, eieio-make-child-predicate): New functions.
(eieio-defclass-internal): Use current-load-list rather than
`class-location'.

* lisp/emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
Use find-lisp-object-file-name, help-fns-short-filename and new calling
convention for eieio-class-def.
(eieio-build-class-list): Remove function, unused.
(eieio-method-def): Remove button type, unused.
(eieio-class-def): Inherit from help-function-def.
(eieio--defclass-regexp): New constant.
(find-function-regexp-alist): Use it.
(eieio--specializers-apply-to-class-p): Handle eieio--static as well.
(eieio-help-find-method-definition, eieio-help-find-class-definition):
Remove functions.

* lisp/emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
and eieio-make-child-predicate.
(eieio-class-parents): Use eieio--class-object.
(slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
(slot-exists-p): Use find-class.

* test/automated/eieio-tests.el (eieio-test-23-inheritance-check): Simplify.
2015-01-31 00:48:14 -05:00
..
data Merge from origin/emacs-24 2014-12-27 13:15:55 -03:00
add-log-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
advice-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bytecomp-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
calc-tests.el Backport: Handle the `neg' operator in some calc-units functions. 2015-01-22 03:29:23 +01:00
cl-generic-tests.el * lisp/emacs-lisp/cl-generic.el (cl--generic-method): New struct. 2015-01-26 11:43:06 -05:00
cl-lib-tests.el * lisp/emacs-lisp/cl-macs.el: Fix last change. 2015-01-16 17:49:00 -05:00
comint-testsuite.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
compile-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
completion-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
core-elisp-tests.el * lisp/emacs-lisp/backquote.el: Fix bug with unoptimized exp. 2015-01-30 16:00:29 -05:00
data-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
dbus-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
decoder-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
descr-text-test.el descr-text: add `describe-char-eldoc' describing character at point 2015-01-20 15:03:20 +01:00
eieio-test-methodinvoke.el * lisp/emacs-lisp/eieio*.el: Fix up warnings and improve compatibility 2015-01-21 14:39:06 -05:00
eieio-test-persist.el Shrink EIEIO object header. Move generics to eieio-generic.el. 2015-01-08 16:03:04 -05:00
eieio-tests.el EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc 2015-01-31 00:48:14 -05:00
electric-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert-x-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
eshell.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
f90.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
file-notify-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
files.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
flymake-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
fns-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
font-parse-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gnus-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
help-fns.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
icalendar-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
imenu-test.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
info-xref.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
inotify-test.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
let-alist.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
lexbind-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
libxml-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
Makefile.in * lisp/emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic. 2015-01-18 14:08:13 -05:00
man-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
mule-util.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
newsticker-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
occur-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
package-test.el Backport: Fix package tests when TMPDIR is in HOME 2015-01-23 15:33:25 +02:00
pcase-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
print-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
process-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
python-tests.el Merge from origin/emacs-24 2015-01-28 01:08:18 -03:00
reftex-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
regexp-tests.el * test/automated/regexp-tests.el: Require regexp-opt 2015-01-23 19:52:07 -05:00
ruby-mode-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
seq-tests.el Fix seq-subseq and cl-subseq for bad bounding indices 2015-01-18 14:04:31 +08:00
subr-x-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
subword-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
syntax-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
thingatpt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tildify-tests.el tildify: add `tildify-double-space-undos' 2015-01-20 13:55:02 +01:00
timer-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tramp-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
undo-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-future-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
url-util-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
vc-bzr.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
vc-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
xml-parse-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
zlib-tests.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00