summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/advice.el2
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