summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/ChangeLog4
-rw-r--r--man/programs.texi10
2 files changed, 10 insertions, 4 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 4835006dc73..22115bb7e5c 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-06 Richard Stallman <rms@gnu.org>
+
+ * programs.texi (Basic Indent): Clarify relationship of C-j to TAB.
+
2006-04-06 Eli Zaretskii <eliz@gnu.org>
* killing.texi (Rectangles): Add index entry for marking a
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