emacs/lisp/emacs-lisp
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
..
advice.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
autoload.el Less 'make' chatter in batch mode 2015-01-03 18:29:23 -08:00
avl-tree.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
backquote.el * lisp/emacs-lisp/backquote.el: Fix bug with unoptimized exp. 2015-01-30 16:00:29 -05:00
benchmark.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bindat.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
byte-opt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
byte-run.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bytecomp.el Don't downcase system diagnostics' first letters 2015-01-21 20:29:42 -08:00
cconv.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
chart.el Shrink EIEIO object header. Move generics to eieio-generic.el. 2015-01-08 16:03:04 -05:00
check-declare.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
checkdoc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cl-extra.el Fix seq-subseq and cl-subseq for bad bounding indices 2015-01-18 14:04:31 +08:00
cl-generic.el EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc 2015-01-31 00:48:14 -05:00
cl-indent.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cl-lib.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cl-macs.el Tighten up the tagcode used for eieio and cl-struct objects 2015-01-27 22:41:31 -05:00
cl-preloaded.el Tighten up the tagcode used for eieio and cl-struct objects 2015-01-27 22:41:31 -05:00
cl-seq.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cl.el * lisp/emacs-lisp/cl.el (cl--function-convert): Simplify. 2015-01-28 08:18:50 -05:00
copyright.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
crm.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
debug.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
derived.el lisp/emacs-lisp/derived.el (define-derived-mode): Declare indent 3. 2015-01-27 10:48:40 +01:00
disass.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
easy-mmode.el lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1. 2015-01-30 17:32:29 +01:00
easymenu.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edebug.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
eieio-base.el EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc 2015-01-31 00:48:14 -05:00
eieio-compat.el * lisp/emacs-lisp/cl-generic.el (cl--generic-method): New struct. 2015-01-26 11:43:06 -05:00
eieio-core.el EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc 2015-01-31 00:48:14 -05:00
eieio-custom.el * lisp/emacs-lisp/eieio*.el: Fix up warnings and improve compatibility 2015-01-21 14:39:06 -05:00
eieio-datadebug.el EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc 2015-01-31 00:48:14 -05:00
eieio-opt.el EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc 2015-01-31 00:48:14 -05:00
eieio-speedbar.el * lisp/emacs-lisp/eieio*.el: Fix up warnings and improve compatibility 2015-01-21 14:39:06 -05:00
eieio.el EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc 2015-01-31 00:48:14 -05:00
eldoc.el eldoc: modify eldoc-documentation-function' using add-function' 2015-01-20 15:04:15 +01:00
elint.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
elp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert-x.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ewoc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
find-func.el (find-function-regexp): Don't match `defgroup' 2015-01-25 02:20:01 +02:00
float-sup.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
generic.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gv.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
helper.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
inline.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
lisp-mnt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
lisp-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
lisp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
macroexp.el lisp/emacs-lisp/eieio*.el: Rewrite our generics on top of cl-generic 2015-01-20 15:40:29 -05:00
map-ynp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
nadvice.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
package-x.el emacs-lisp/package.el and package-x.el: References to package-desc-kind 2015-01-16 22:21:12 -02:00
package.el emacs-lisp/package.el (package-dir-info): Fix `while' logic. 2015-01-20 22:21:23 -02:00
pcase.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
re-builder.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
regexp-opt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
regi.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ring.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rx.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
seq.el Fix seq-subseq and cl-subseq for bad bounding indices 2015-01-18 14:04:31 +08:00
shadow.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
smie.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
subr-x.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
syntax.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tabulated-list.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tcover-ses.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tcover-unsafep.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
testcover.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
timer.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tq.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
trace.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
unsafep.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
warnings.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00