# HG changeset patch # User Richard M. Stallman # Date 1205422073 0 # Node ID 349f51baa515a628d8519c3276f6ac6005d3ecfc # Parent 4cc6af526cc6d62423afeeb3389e87b7e6c5d472 (defadvice): Add usage pattern. diff -r 4cc6af526cc6 -r 349f51baa515 lisp/emacs-lisp/advice.el --- a/lisp/emacs-lisp/advice.el Thu Mar 13 02:59:51 2008 +0000 +++ b/lisp/emacs-lisp/advice.el Thu Mar 13 15:27:53 2008 +0000 @@ -3817,7 +3817,10 @@ 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))