changeset 46914:56bbdfd75143

Mention define-generic-mode.
author Richard M. Stallman <rms@gnu.org>
date Thu, 15 Aug 2002 20:32:05 +0000
parents 861d4dd87bd7
children 5bae22b90bf5
files lispref/modes.texi
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/modes.texi	Thu Aug 15 20:31:03 2002 +0000
+++ b/lispref/modes.texi	Thu Aug 15 20:32:05 2002 +0000
@@ -69,6 +69,11 @@
 parent argument, since it automatically enforces the most important
 coding conventions for you.
 
+@findex define-generic-mode
+  For a very simple programming language major mode that handles
+comments and fontification, you can use @code{define-generic-mode}
+in @file{generic.el}.
+
   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
 ordinary Emacs commands rather than Rmail commands).  In such cases, the