+2008-03-13 Richard Stallman <rms@gnu.org>
+
+ * emacs-lisp/advice.el (defadvice): Add usage pattern.
+
2008-03-11 Chong Yidong <cyd@stupidchicken.com>
* simple.el (set-mark-command): Doc fix.
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))