diff options
| author | Richard M. Stallman | 2006-05-25 00:00:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-05-25 00:00:50 +0000 |
| commit | 379ba58e7676783024bfd1cba67e0c9996ae250a (patch) | |
| tree | e17d4cdf0717f9343c653f7df400962050f092b0 | |
| parent | 870560eb10c04f48f7b657664c45894a4820f874 (diff) | |
| download | emacs-379ba58e7676783024bfd1cba67e0c9996ae250a.tar.gz emacs-379ba58e7676783024bfd1cba67e0c9996ae250a.zip | |
(ad-enable-advice, ad-activate, ad-disable-advice): Add autoloads.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 11a86401271..bf94fcb539c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2006-05-24 Richard Stallman <rms@gnu.org> | 1 | 2006-05-24 Richard Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * emacs-lisp/advice.el (ad-enable-advice, ad-activate) | ||
| 4 | (ad-disable-advice): Add autoloads. | ||
| 5 | |||
| 3 | * subr.el (read-passwd): Copy PROMPT before changing its properties. | 6 | * subr.el (read-passwd): Copy PROMPT before changing its properties. |
| 4 | 7 | ||
| 5 | 2006-05-25 Mathias Dahl <mathias.dahl@gmail.com> | 8 | 2006-05-25 Mathias Dahl <mathias.dahl@gmail.com> |
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 486a3b049ae..d03245bf452 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -2350,6 +2350,7 @@ FUNCTION was not advised)." | |||
| 2350 | (ad-advice-set-enabled advice flag)))))) | 2350 | (ad-advice-set-enabled advice flag)))))) |
| 2351 | matched-advices))) | 2351 | matched-advices))) |
| 2352 | 2352 | ||
| 2353 | ;;;###autoload | ||
| 2353 | (defun ad-enable-advice (function class name) | 2354 | (defun ad-enable-advice (function class name) |
| 2354 | "Enables the advice of FUNCTION with CLASS and NAME." | 2355 | "Enables the advice of FUNCTION with CLASS and NAME." |
| 2355 | (interactive (ad-read-advice-specification "Enable advice of")) | 2356 | (interactive (ad-read-advice-specification "Enable advice of")) |
| @@ -2359,6 +2360,7 @@ FUNCTION was not advised)." | |||
| 2359 | function class name)) | 2360 | function class name)) |
| 2360 | (error "ad-enable-advice: `%s' is not advised" function))) | 2361 | (error "ad-enable-advice: `%s' is not advised" function))) |
| 2361 | 2362 | ||
| 2363 | ;;;###autoload | ||
| 2362 | (defun ad-disable-advice (function class name) | 2364 | (defun ad-disable-advice (function class name) |
| 2363 | "Disable the advice of FUNCTION with CLASS and NAME." | 2365 | "Disable the advice of FUNCTION with CLASS and NAME." |
| 2364 | (interactive (ad-read-advice-specification "Disable advice of")) | 2366 | (interactive (ad-read-advice-specification "Disable advice of")) |
| @@ -3585,6 +3587,7 @@ the value of `ad-redefinition-action' and de/activate again." | |||
| 3585 | ;; @@ The top-level advice interface: | 3587 | ;; @@ The top-level advice interface: |
| 3586 | ;; ================================== | 3588 | ;; ================================== |
| 3587 | 3589 | ||
| 3590 | ;;;###autoload | ||
| 3588 | (defun ad-activate (function &optional compile) | 3591 | (defun ad-activate (function &optional compile) |
| 3589 | "Activate all the advice information of an advised FUNCTION. | 3592 | "Activate all the advice information of an advised FUNCTION. |
| 3590 | If FUNCTION has a proper original definition then an advised | 3593 | If FUNCTION has a proper original definition then an advised |