Mercurial > emacs
changeset 70899:b920ab84fba8
(ad-enable-advice, ad-activate, ad-disable-advice): Add autoloads.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 25 May 2006 00:00:40 +0000 |
parents | 26145825714f |
children | 3af45cb133b8 |
files | lisp/emacs-lisp/advice.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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