Commit 63d93efd authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

* text.texi (User-Level Deletion): Document `delete-trailing-whitespace'.

Fixes: debbugs:15309
parent 2ab0ad85
2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
* text.texi (User-Level Deletion): Document
`delete-trailing-whitespace' (bug#15309).
2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
* text.texi (Changing Properties): Clarify `propertize' (bug#9825).
......
......@@ -787,6 +787,19 @@ A blank line is defined as a line containing only tabs and spaces.
@code{delete-blank-lines} returns @code{nil}.
@end deffn
@deffn Command delete-trailing-whitespace start end
Delete trailing whitespace in the region defined by @var{start} and
@var{end}.
This command deletes whitespace characters after the last
non-whitespace character in each line in the region.
If this command acts on the entire buffer (i.e. if called
interactively with the mark inactive, or called from Lisp with
@var{end} nil), it also deletes all trailing lines at the end of the
buffer if the variable @code{delete-trailing-lines} is non-@code{nil}.
@end deffn
@node The Kill Ring
@section The Kill Ring
@cindex kill ring
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment