Mercurial > emacs
changeset 96176:9db96e091168
(define-derived-mode): Add `doc-string' declaration.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Sat, 21 Jun 2008 19:57:50 +0000 |
parents | 7f68a049c054 |
children | 68c23dc0c0cc |
files | lisp/emacs-lisp/derived.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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