* lisp/emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 4 Aug 2013 06:48:00 +0000 (02:48 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 4 Aug 2013 06:48:00 +0000 (02:48 -0400)
commit1d44e9dcad7b0e4d884287288895916718bbd663
tree5b2d22fd601d2aa54212ca29fe10fad3ea37d2df
parentdc8dfa8a70df6ccb9d265ea98203cc0efe5d2fff
* lisp/emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
(advice-mapc): New function, using it.
(advice-function-member-p): New function.
(advice--normalize): Store the cdr in advice--saved-rewrite since
that's the part that will be changed.
(advice--symbol-function): New function.
(advice-remove): Handle removal before the function is defined.
Adjust to new advice--saved-rewrite.
(advice-member-p): Use advice-function-member-p and
advice--symbol-function.
lisp/ChangeLog
lisp/emacs-lisp/nadvice.el