summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/advice.el2
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6003252f187..44576321e67 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+1999-10-30 Gerd Moellmann <gerd@gnu.org>
+
+ * emacs-lisp/advice.el (ad-activate-on): Make it an alias for
+ ad-activate.
+
1999-10-30 Rajesh Vaidheeswarran <rv@dsmit.com>
* whitespace.el (whitespace-version): Update to 2.6
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