From: Stefan Monnier Date: Fri, 12 Oct 2001 01:32:51 +0000 (+0000) Subject: Recommend the use of define-derived-mode (and nil argument). X-Git-Tag: ttn-vms-21-2-B4~19560 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b41c65c36066eda80149034baa47bf2e36b1dae;p=emacs.git Recommend the use of define-derived-mode (and nil argument). --- diff --git a/lispref/modes.texi b/lispref/modes.texi index b855f7e0eca..072f8f69f8f 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -60,9 +60,9 @@ Text mode except that it provides two additional commands. Its definition is distinct from that of Text mode, but uses that of Text mode. Even if the new mode is not an obvious derivative of any other mode, -it can be convenient to define it as a derivative of -@code{fundamental-mode}, so that @code{define-derived-mode} can -automatically enforce the most important coding conventions for you. +it is convenient to use @code{define-derived-mode} with a @code{nil} +parent argument, since it automatically enforces the most important +coding conventions for you. Rmail Edit mode offers an example of changing the major mode temporarily for a buffer, so it can be edited in a different way (with