# HG changeset patch # User Richard M. Stallman # Date 1148515240 0 # Node ID b920ab84fba8122799a01bfb068bdb6d03704b7c # Parent 26145825714fa3aadf7ed7e78c3541b77cabff61 (ad-enable-advice, ad-activate, ad-disable-advice): Add autoloads. diff -r 26145825714f -r b920ab84fba8 lisp/emacs-lisp/advice.el --- a/lisp/emacs-lisp/advice.el Wed May 24 22:28:02 2006 +0000 +++ b/lisp/emacs-lisp/advice.el Thu May 25 00:00:40 2006 +0000 @@ -2350,6 +2350,7 @@ (ad-advice-set-enabled advice flag)))))) matched-advices))) +;;;###autoload (defun ad-enable-advice (function class name) "Enables the advice of FUNCTION with CLASS and NAME." (interactive (ad-read-advice-specification "Enable advice of")) @@ -2359,6 +2360,7 @@ function class name)) (error "ad-enable-advice: `%s' is not advised" function))) +;;;###autoload (defun ad-disable-advice (function class name) "Disable the advice of FUNCTION with CLASS and NAME." (interactive (ad-read-advice-specification "Disable advice of")) @@ -3585,6 +3587,7 @@ ;; @@ The top-level advice interface: ;; ================================== +;;;###autoload (defun ad-activate (function &optional compile) "Activate all the advice information of an advised FUNCTION. If FUNCTION has a proper original definition then an advised