summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2008-04-05 23:01:26 +0000
committerMiles Bader <miles@gnu.org>2008-04-05 23:01:26 +0000
commit5bc6ddff00c50acf546530ef0e08a27140614d27 (patch)
tree22f92034de583fe3df108e166385e30220b426fe /lisp/emacs-lisp
parentd8c852509f6218db43e5f2ca8baace02d4fa1294 (diff)
parent37128b5497b54367b25ed149ead91821adc65876 (diff)
downloademacs-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.el5
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))