Mercurial > emacs
comparison lisp/emacs-lisp/derived.el @ 62349:8d37ba4764ca
(define-derived-mode): Add link to Elisp manual to docstring.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sat, 14 May 2005 18:32:45 +0000 |
parents | aac0a33f5772 |
children | c51f100a7a23 f042e7c0fe20 |
comparison
equal
deleted
inserted
replaced
62348:5f37b155f289 | 62349:8d37ba4764ca |
---|---|
156 | 156 |
157 Note that if the documentation string had been left out, it would have | 157 Note that if the documentation string had been left out, it would have |
158 been generated automatically, with a reference to the keymap. | 158 been generated automatically, with a reference to the keymap. |
159 | 159 |
160 The new mode runs the hook constructed by the function | 160 The new mode runs the hook constructed by the function |
161 `derived-mode-hook-name'." | 161 `derived-mode-hook-name'. |
162 | |
163 See Info node `(elisp)Derived Modes' for more details." | |
162 (declare (debug (&define name symbolp sexp [&optional stringp] | 164 (declare (debug (&define name symbolp sexp [&optional stringp] |
163 [&rest keywordp sexp] def-body))) | 165 [&rest keywordp sexp] def-body))) |
164 | 166 |
165 (when (and docstring (not (stringp docstring))) | 167 (when (and docstring (not (stringp docstring))) |
166 ;; Some trickiness, since what appears to be the docstring may really be | 168 ;; Some trickiness, since what appears to be the docstring may really be |