* lisp/emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Jan 2013 06:05:22 +0000 (01:05 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Jan 2013 06:05:22 +0000 (01:05 -0500)
commitcb9c0a53bc4a6d67f10d4674472b2884a71852c8
treebf43c694ff8de8bc246c19bdc929a336e3dd969b
parentef8214345ba7b46de9837fbe9461e19f18e6d660
* lisp/emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
the use of nadvice.el.
* lisp/emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
to return an explicit nil.
(advice--remove-function): Change accordingly.
* test/automated/advice-tests.el: Split up.  Add advice-test-preactivate.
lisp/ChangeLog
lisp/emacs-lisp/advice.el
lisp/emacs-lisp/nadvice.el
test/ChangeLog
test/automated/advice-tests.el