summaryrefslogtreecommitdiff
path: root/man/programs.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-04-07 18:23:03 +0000
committerRichard M. Stallman <rms@gnu.org>2006-04-07 18:23:03 +0000
commit14f4194d139afb9eb9ac8a2d579ebf31eea75c28 (patch)
treefc0bdaa575fa4fd336dd629764a3b69cb6534a48 /man/programs.texi
parent5b31640cadf1f58d59f34ae9763d7ec3921e225a (diff)
downloademacs-14f4194d139afb9eb9ac8a2d579ebf31eea75c28.tar.gz
(Basic Indent): C-j deletes trailing whitespace before the newline.
Diffstat (limited to 'man/programs.texi')
-rw-r--r--man/programs.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/man/programs.texi b/man/programs.texi
index 5cd769446ae..59ea979399d 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -387,9 +387,10 @@ the characters around it.
@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