aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-10-30 20:26:22 +0000
committerGerd Moellmann1999-10-30 20:26:22 +0000
commit17d28a2aa8dc3f5ed7a53d32c88701c500d597a7 (patch)
treeff86c1fc16330e18486338b18dc609c55d84d74b
parentdd24f431bebaf977d84fbb9c6e0fe69bde7ffbf0 (diff)
downloademacs-17d28a2aa8dc3f5ed7a53d32c88701c500d597a7.tar.gz
emacs-17d28a2aa8dc3f5ed7a53d32c88701c500d597a7.zip
(ad-activate-on): Make it an alias for ad-activate.
-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 @@
11999-10-30 Gerd Moellmann <gerd@gnu.org>
2
3 * emacs-lisp/advice.el (ad-activate-on): Make it an alias for
4 ad-activate.
5
11999-10-30 Rajesh Vaidheeswarran <rv@dsmit.com> 61999-10-30 Rajesh Vaidheeswarran <rv@dsmit.com>
2 7
3 * whitespace.el (whitespace-version): Update to 2.6 8 * 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."
3619 ;; Here we are if we have all disabled advices: 3619 ;; Here we are if we have all disabled advices:
3620 (t (ad-deactivate function))))))))) 3620 (t (ad-deactivate function)))))))))
3621 3621
3622(defalias 'ad-activate-on 'ad-activate)
3623
3622(defun ad-deactivate (function) 3624(defun ad-deactivate (function)
3623 "Deactivates the advice of an actively advised FUNCTION. 3625 "Deactivates the advice of an actively advised FUNCTION.
3624If FUNCTION has a proper original definition, then the current 3626If FUNCTION has a proper original definition, then the current