summaryrefslogtreecommitdiff
path: root/man/programs.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-04-07 02:00:57 +0000
committerRichard M. Stallman <rms@gnu.org>2006-04-07 02:00:57 +0000
commitbb63d706891927d6badec815fae773e8b411cf74 (patch)
treec3bdc681a2e318a94027c6e0a4bc9da78422c71d /man/programs.texi
parent84471245fca81b226bc4233780d8f49c31a37725 (diff)
downloademacs-bb63d706891927d6badec815fae773e8b411cf74.tar.gz
(Basic Indent): Clarify relationship of C-j to TAB.
Diffstat (limited to 'man/programs.texi')
-rw-r--r--man/programs.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/man/programs.texi b/man/programs.texi
index 9ec4f7ff2d3..12e594c1868 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -360,7 +360,8 @@ usual conventions of the language you are editing.
@item @key{TAB}
Adjust indentation of current line.
@item C-j
-Equivalent to @key{RET} followed by @key{TAB} (@code{newline-and-indent}).
+Insert a newline, then adjust indentation of following line
+(@code{newline-and-indent}).
@end table
@kindex TAB @r{(programming modes)}
@@ -385,9 +386,10 @@ the characters around it.
@kindex C-j
@findex newline-and-indent
When entering lines of new code, use @kbd{C-j}
-(@code{newline-and-indent}), which is equivalent to @key{RET}
-followed by @key{TAB}. @kbd{C-j} at the end of a line creates a
-blank line and then gives it the appropriate indentation.
+(@code{newline-and-indent}), which inserts a newline and then adjusts
+indentation after it. Thus, @kbd{C-j} at the end of a line creates a
+blank line with appropriate indentation. In programming language
+modes, it is equivalent to @key{RET} @key{TAB}.
@key{TAB} indents a line that starts within a parenthetical grouping
under the preceding line within the grouping, or the text after the