emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116382: * text.texi (User-Level Deletion): Document


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r116382: * text.texi (User-Level Deletion): Document `delete-trailing-whitespace'.
Date: Mon, 10 Feb 2014 02:38:57 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116382
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15309
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sun 2014-02-09 18:37:43 -0800
message:
  * text.texi (User-Level Deletion): Document `delete-trailing-whitespace'.
modified:
  doc/lispref/ChangeLog          changelog-20091113204419-o5vbwnq5f7feedwu-6155
  doc/lispref/text.texi          text.texi-20091113204419-o5vbwnq5f7feedwu-6215
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2014-02-09 06:14:08 +0000
+++ b/doc/lispref/ChangeLog     2014-02-10 02:37:43 +0000
@@ -1,3 +1,8 @@
+2014-02-10  Lars Ingebrigtsen  <address@hidden>
+
+       * text.texi (User-Level Deletion): Document
+       `delete-trailing-whitespace' (bug#15309).
+
 2014-02-09  Lars Ingebrigtsen  <address@hidden>
 
        * text.texi (Changing Properties): Clarify `propertize' (bug#9825).

=== modified file 'doc/lispref/text.texi'
--- a/doc/lispref/text.texi     2014-02-09 06:14:08 +0000
+++ b/doc/lispref/text.texi     2014-02-10 02:37:43 +0000
@@ -787,6 +787,19 @@
 @code{delete-blank-lines} returns @code{nil}.
 @end deffn
 
address@hidden Command delete-trailing-whitespace start end
+Delete trailing whitespace in the region defined by @var{start} and
address@hidden
+
+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
address@hidden nil), it also deletes all trailing lines at the end of the
+buffer if the variable @code{delete-trailing-lines} is address@hidden
address@hidden deffn
+
 @node The Kill Ring
 @section The Kill Ring
 @cindex kill ring


reply via email to

[Prev in Thread] Current Thread [Next in Thread]