]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/advice.el: Only use defmacro when needed
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 17 Sep 2018 18:02:05 +0000 (14:02 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 17 Sep 2018 18:02:05 +0000 (14:02 -0400)
commit458948189e56a110739ff9002236d269b8382293
tree8be4c8a64aafbc8471fe36152c3fcb5ce4c36633
parent77c3c464a1603e2675347c88bb8cde26a6a3e2f8
* lisp/emacs-lisp/advice.el: Only use defmacro when needed

(ad-get-advice-info): Mark it inlinable.
(ad-get-advice-info-macro): Make it an obsolete alias.
(ad-copy-advice-info, ad-is-advised, ad-get-advice-info-field)
(ad-find-advice, ad-macrofy, ad-lambdafy, ad-lambda-p, ad-advice-p)
(ad-compiled-p, ad-compiled-code, ad-get-cache-definition)
(ad-get-cache-id, ad-set-cache): Turn macros into defsubsts.
(ad-defadvice-flags): Make it into a plain list.
(ad-set-advice-info-field): Apply a bit of CSE.
lisp/emacs-lisp/advice.el