# HG changeset patch # User John Paul Wallington # Date 1214078270 0 # Node ID 9db96e091168e8fa05eaa76d47ad643a8a73f1f5 # Parent 7f68a049c054b1d1dce6ed1ebb441947a039f1b0 (define-derived-mode): Add `doc-string' declaration. diff -r 7f68a049c054 -r 9db96e091168 lisp/emacs-lisp/derived.el --- a/lisp/emacs-lisp/derived.el Sat Jun 21 19:53:46 2008 +0000 +++ b/lisp/emacs-lisp/derived.el Sat Jun 21 19:57:50 2008 +0000 @@ -162,7 +162,8 @@ See Info node `(elisp)Derived Modes' for more details." (declare (debug (&define name symbolp sexp [&optional stringp] - [&rest keywordp sexp] def-body))) + [&rest keywordp sexp] def-body)) + (doc-string 4)) (when (and docstring (not (stringp docstring))) ;; Some trickiness, since what appears to be the docstring may really be