# HG changeset patch # User Richard M. Stallman # Date 1144434179 0 # Node ID 121db3a5c7baea35a9e8370071beda7124d9469d # Parent 613657f11e8dea13164a9af189afe30bc67eb517 (Basic Indent): C-j deletes trailing whitespace before the newline. diff -r 613657f11e8d -r 121db3a5c7ba man/programs.texi --- a/man/programs.texi Fri Apr 07 16:52:46 2006 +0000 +++ b/man/programs.texi Fri Apr 07 18:22:59 2006 +0000 @@ -387,9 +387,10 @@ @findex newline-and-indent When entering lines of new code, use @kbd{C-j} (@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}. +indentation after it. (It also deletes any trailing whitespace which +remains before the new newline.) 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