Mercurial > emacs
changeset 26247:f96b2bc4ef08
(ad-activate-on): Make it an alias for ad-activate.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 30 Oct 1999 20:24:32 +0000 |
parents | 7fc02649917c |
children | 9875073b26b9 |
files | lisp/emacs-lisp/advice.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/advice.el Sat Oct 30 19:21:43 1999 +0000 +++ b/lisp/emacs-lisp/advice.el Sat Oct 30 20:24:32 1999 +0000 @@ -3619,6 +3619,8 @@ ;; Here we are if we have all disabled advices: (t (ad-deactivate function))))))))) +(defalias 'ad-activate-on 'ad-activate) + (defun ad-deactivate (function) "Deactivates the advice of an actively advised FUNCTION. If FUNCTION has a proper original definition, then the current