]> code.delx.au - gnu-emacs/commitdiff
(Basic Indent): Clarify relationship of C-j to TAB.
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 2006 02:00:57 +0000 (02:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 2006 02:00:57 +0000 (02:00 +0000)
man/ChangeLog
man/programs.texi

index 4835006dc7395b233011c8d6335df832fcc30ca9..22115bb7e5cbfba1b54cf5765fcfb264ede4f920 100644 (file)
@@ -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
index 9ec4f7ff2d3adc901bd4ecf416f65763a33a4372..12e594c1868af758fee99637192fb4686f6f9913 100644 (file)
@@ -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