• Stefan Monnier's avatar
    * lisp/emacs-lisp/cl-generic.el: Add a calling convention · f1b7ad19
    Stefan Monnier authored
    Introduce a new calling convention for the methods, which should
    make `cl-call-next-method` a bit less costly.
    
    (cl--generic-method): Rename `uses-cnm` slot to `call-con`.
    (cl-defmethod): Adjust accordingly.
    (cl--generic-lambda): Use the new `curried` calling convention.
    (cl-generic-call-method): Implement the new `curried` calling convention.
    (cl--generic-method-info): Adjust to the new `curried` calling convention.
    
    * lisp/org/org-attach.el (org-attach): Silence warning.
    f1b7ad19
org-attach.el 30 KB