]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/eieio-core.el: Provide support for cl-generic.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 15 Jan 2015 05:19:44 +0000 (00:19 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 15 Jan 2015 05:19:44 +0000 (00:19 -0500)
commit483c98a00d02197dd912d490daf9e521399d16a7
tree3e29fcbfd2e94adaeea6d5faa82dfc369d4f94da
parent9def17e92bbb61e877bf092b562a92946cf43210
* lisp/emacs-lisp/eieio-core.el: Provide support for cl-generic.

(eieio--generic-tagcode): New function.
(cl-generic-tagcode-function): Use it.
(eieio--generic-tag-types): New function.
(cl-generic-tag-types-function): Use it.
(eieio-object-p): Tighten up the test.

* lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.

* test/automated/eieio-test-methodinvoke.el (eieio-test-method-store): Add
keysym arg instead of relying on internal var eieio--generic-call-key.
Update all callers.
(eieio-test-cl-generic-1): New tests.
lisp/ChangeLog
lisp/emacs-lisp/cl-generic.el
lisp/emacs-lisp/eieio-core.el
test/ChangeLog
test/automated/eieio-test-methodinvoke.el