1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

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

Fixes: debbugs:15309
This commit is contained in:
Lars Ingebrigtsen 2014-02-09 18:37:43 -08:00
parent 2ab0ad8563
commit 63d93efda6
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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).

View File

@ -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