]> code.delx.au - gnu-emacs/commitdiff
(Trailing Whitespace): Document delete-trailing-whitespace.
authorEli Zaretskii <eliz@gnu.org>
Thu, 23 Aug 2001 12:37:35 +0000 (12:37 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 23 Aug 2001 12:37:35 +0000 (12:37 +0000)
man/display.texi

index aded56c9ec398d33a13bcf2f903d02a02edfd083..5a65eb248240f0598c2dc1c9d17bbc03c1d41326 100644 (file)
@@ -388,6 +388,12 @@ at the end of the line containing the whitespace.  (Doing that looks
 ugly while you are typing in new text, and the location of point is
 enough in that case to show you that the spaces are present.)
 
+@findex delete-trailing-whitespace
+  To delete all trailing whitespace within the current buffer's
+restriction (@pxref{Narrowing}), type @kbd{M-x
+delete-trailing-whitespace @key{RET}}.  (This command does not remove
+the form-feed characters.)
+
 @vindex indicate-empty-lines
 @vindex default-indicate-empty-lines
 @cindex empty lines