aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/modes.texi
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2010-12-18 11:28:15 -0500
committerStefan Monnier <[email protected]>2010-12-18 11:28:15 -0500
commit80b33766d4693c002464052eb799ecb6eb32f010 (patch)
tree7ea4904447f7c7bb26363e82b5b337f4490dcc52 /doc/lispref/modes.texi
parent70041e9ae7072eac5eeff2b5e1a50d9eab6b39f7 (diff)
* doc/lispref/keymaps.texi (Simple Menu Items, Extended Menu Items):
Remove mention of the key-binding-data cache since we don't use it any more. * doc/lispref/modes.texi (Derived Modes): Mention prog-mode. Fixes: debbugs:7542
Diffstat (limited to 'doc/lispref/modes.texi')
-rw-r--r--doc/lispref/modes.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 5f59d4c4b6..0f66ebeb6b 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -744,7 +744,8 @@ documentation of the major mode.
The recommended way to define a new major mode is to derive it
from an existing one using @code{define-derived-mode}. If there is no
closely related mode, you can inherit from @code{text-mode},
-@code{special-mode}, or in the worst case @code{fundamental-mode}.
+@code{special-mode}, @code{prog-mode}, or in the worst case
+@code{fundamental-mode}.
@defmac define-derived-mode variant parent name docstring keyword-args@dots{} body@dots{}
This macro defines @var{variant} as a major mode command, using