• Stefan Monnier's avatar
    * lisp/emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to · 413d4689
    Stefan Monnier authored
    override the default.
    * lisp/emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
    * lisp/subr.el (dolist, dotimes, declare): Redefine them normally, even when
    `cl' is loaded.
    * lisp/emacs-lisp/nadvice.el (advice--normalize): New function, extracted
    from add-advice.
    (advice--strip-macro): New function.
    (advice--defalias-fset): Use them to handle macros.
    (advice-add): Use them.
    (advice-member-p): Correctly handle macros.
subr.el 174 KB