diff man/programs.texi @ 69842:121db3a5c7ba

(Basic Indent): C-j deletes trailing whitespace before the newline.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Apr 2006 18:22:59 +0000
parents d138b536fbe5
children 284d18cd0af7 65ca8fb66a0d
line wrap: on
line diff
--- 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