diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-10-30 20:26:22 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-10-30 20:26:22 +0000 |
commit | 17d28a2aa8dc3f5ed7a53d32c88701c500d597a7 (patch) | |
tree | ff86c1fc16330e18486338b18dc609c55d84d74b /lisp/emacs-lisp | |
parent | dd24f431bebaf977d84fbb9c6e0fe69bde7ffbf0 (diff) | |
download | emacs-17d28a2aa8dc3f5ed7a53d32c88701c500d597a7.tar.gz emacs-17d28a2aa8dc3f5ed7a53d32c88701c500d597a7.tar.bz2 emacs-17d28a2aa8dc3f5ed7a53d32c88701c500d597a7.zip |
(ad-activate-on): Make it an alias for ad-activate.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/advice.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 4a4a7f9e18c..cf6dbe3c7f3 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -3619,6 +3619,8 @@ definition will always be cached for later usage." ;; 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 |