• Stefan Monnier's avatar
    * lisp/emacs-lisp/cl-generic.el: Add a method-combination hook. · 4cdde919
    Stefan Monnier authored
    (cl-generic-method-combination-function): New var.
    (cl--generic-lambda): Remove `with-cnm' arg.
    (cl-defmethod): Change accordingly.
    (cl-generic-define-method): Don't check qualifiers validity.
    Preserve all qualifiers in `method-table'.
    (cl-generic-call-method): New function.
    (cl--generic-nest): Remove (morph into cl-generic-call-method).
    (cl--generic-build-combined-method): Adjust to new format of method-table
    and use cl-generic-method-combination-function.
    (cl--generic-standard-method-combination): New function, extracted from
    cl--generic-build-combined-method.
    (cl--generic-cnm-sample): Adjust to new format of method-table.
    
    * lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
    instead of :primary.
    
    * lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
    Remove obsolete function.
    
    * test/automated/cl-generic-tests.el (cl-generic-test-11-next-method-p):
    New test.
    4cdde919
ChangeLog 883 KB