]> git.eshelyaron.com Git - emacs.git/commitdiff
Recommend the use of define-derived-mode (and nil argument).
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Oct 2001 01:32:51 +0000 (01:32 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Oct 2001 01:32:51 +0000 (01:32 +0000)
lispref/modes.texi

index b855f7e0ecae60b7101741c25b7d4b80c9dc9f54..072f8f69f8fe409606a1e038504f3aa92394868b 100644 (file)
@@ -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