aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/modes.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 4c888448d66..65931150975 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -69,6 +69,11 @@ it is convenient to use @code{define-derived-mode} with a @code{nil}
69parent argument, since it automatically enforces the most important 69parent argument, since it automatically enforces the most important
70coding conventions for you. 70coding conventions for you.
71 71
72@findex define-generic-mode
73 For a very simple programming language major mode that handles
74comments and fontification, you can use @code{define-generic-mode}
75in @file{generic.el}.
76
72 Rmail Edit mode offers an example of changing the major mode 77 Rmail Edit mode offers an example of changing the major mode
73temporarily for a buffer, so it can be edited in a different way (with 78temporarily for a buffer, so it can be edited in a different way (with
74ordinary Emacs commands rather than Rmail commands). In such cases, the 79ordinary Emacs commands rather than Rmail commands). In such cases, the