diff options
author | Miles Bader <miles@gnu.org> | 2008-04-05 23:01:26 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2008-04-05 23:01:26 +0000 |
commit | 5bc6ddff00c50acf546530ef0e08a27140614d27 (patch) | |
tree | 22f92034de583fe3df108e166385e30220b426fe /lisp/emacs-lisp | |
parent | d8c852509f6218db43e5f2ca8baace02d4fa1294 (diff) | |
parent | 37128b5497b54367b25ed149ead91821adc65876 (diff) | |
download | emacs-5bc6ddff00c50acf546530ef0e08a27140614d27.tar.gz |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/advice.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index ca3a062198d..e6753614471 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -3792,7 +3792,10 @@ the advised function. `freeze' implies `activate' and `preactivate'. The documentation of the advised function can be dumped onto the `DOC' file during preloading. -See Info node `(elisp)Advising Functions' for comprehensive documentation." +See Info node `(elisp)Advising Functions' for comprehensive documentation. +usage: (defadvice FUNCTION (CLASS NAME [POSITION] [ARGLIST] FLAG...) + [DOCSTRING] [INTERACTIVE-FORM] + BODY...)" (declare (doc-string 3)) (if (not (ad-name-p function)) (error "defadvice: Invalid function name: %s" function)) |