diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-05-10 16:07:01 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-05-10 16:07:01 -0400 |
commit | 5d03fb436fcfb1fe704cc7a66dec7bd2d21d49f1 (patch) | |
tree | 7884824b46c957bc5bfce46066e756d4ae4992db /lisp/emacs-lisp/lisp-mode.el | |
parent | 4a5c71d7c275b93238c629601526a87eca08e6fd (diff) | |
download | emacs-5d03fb436fcfb1fe704cc7a66dec7bd2d21d49f1.tar.gz emacs-5d03fb436fcfb1fe704cc7a66dec7bd2d21d49f1.tar.bz2 emacs-5d03fb436fcfb1fe704cc7a66dec7bd2d21d49f1.zip |
* lisp/emacs-lisp/nadvice.el: Support adding a given function multiple times.
(advice--member-p): If name is given, only compare the name.
(advice--remove-function): Don't stop at the first match.
(advice--normalize-place): New function.
(add-function, remove-function): Use it.
(advice--add-function): Pass the name, if any, to
advice--remove-function.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions