Mercurial > emacs
changeset 38161:45d64a431eea
(Major Mode Conventions): Major modes should not change RET.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 23 Jun 2001 16:09:28 +0000 |
parents | 05a836654c88 |
children | 40606e2d6b31 |
files | lispref/modes.texi |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/modes.texi Sat Jun 23 16:08:32 2001 +0000 +++ b/lispref/modes.texi Sat Jun 23 16:09:28 2001 +0000 @@ -174,6 +174,12 @@ editing commands. Dired and Rmail both do this. @item +Major modes must not define @key{RET} to do anything other than insert +a newline. The command to insert a newline and then indent is +@kbd{C-j}. These conventions are supposed to be uniform for all +modes; please keep them that way. + +@item @cindex syntax tables in modes The mode may have its own syntax table or may share one with other related modes. If it has its own syntax table, it should store this in