diff options
| author | Lars Ingebrigtsen | 2014-02-09 18:37:43 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-09 18:37:43 -0800 |
| commit | 63d93efda6fb229d18a750436d52396ceecd68d9 (patch) | |
| tree | 73c17c69bd931f9fa00f04d590bc3502867d60bf /doc | |
| parent | 2ab0ad85630b80869cbf0953fa132f076b86ca6b (diff) | |
| download | emacs-63d93efda6fb229d18a750436d52396ceecd68d9.tar.gz emacs-63d93efda6fb229d18a750436d52396ceecd68d9.zip | |
* text.texi (User-Level Deletion): Document `delete-trailing-whitespace'.
Fixes: debbugs:15309
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 47be7082fc7..cf4cef30e0e 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * text.texi (User-Level Deletion): Document | ||
| 4 | `delete-trailing-whitespace' (bug#15309). | ||
| 5 | |||
| 1 | 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org> | 6 | 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * text.texi (Changing Properties): Clarify `propertize' (bug#9825). | 8 | * text.texi (Changing Properties): Clarify `propertize' (bug#9825). |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 76b65e9d7e0..18701465d0f 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -787,6 +787,19 @@ A blank line is defined as a line containing only tabs and spaces. | |||
| 787 | @code{delete-blank-lines} returns @code{nil}. | 787 | @code{delete-blank-lines} returns @code{nil}. |
| 788 | @end deffn | 788 | @end deffn |
| 789 | 789 | ||
| 790 | @deffn Command delete-trailing-whitespace start end | ||
| 791 | Delete trailing whitespace in the region defined by @var{start} and | ||
| 792 | @var{end}. | ||
| 793 | |||
| 794 | This command deletes whitespace characters after the last | ||
| 795 | non-whitespace character in each line in the region. | ||
| 796 | |||
| 797 | If this command acts on the entire buffer (i.e. if called | ||
| 798 | interactively with the mark inactive, or called from Lisp with | ||
| 799 | @var{end} nil), it also deletes all trailing lines at the end of the | ||
| 800 | buffer if the variable @code{delete-trailing-lines} is non-@code{nil}. | ||
| 801 | @end deffn | ||
| 802 | |||
| 790 | @node The Kill Ring | 803 | @node The Kill Ring |
| 791 | @section The Kill Ring | 804 | @section The Kill Ring |
| 792 | @cindex kill ring | 805 | @cindex kill ring |