mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 06:31:13 -08:00
(define-derived-mode): Add `doc-string' declaration.
This commit is contained in:
parent
536db356f9
commit
a86a16098e
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2008-06-21 John Paul Wallington <jpw@pobox.com>
|
||||
|
||||
* emacs-lisp/derived.el (define-derived-mode): Add `doc-string' decl.
|
||||
|
||||
* textmodes/rst.el (rst-mode): Put docstring in right place.
|
||||
|
||||
2008-06-21 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* startup.el (fancy-about-text, fancy-startup-tail): Increase text
|
||||
|
|
|
|||
|
|
@ -162,7 +162,8 @@ The new mode runs the hook constructed by the function
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue