aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles A. Roelli2018-03-11 12:25:21 +0100
committerCharles A. Roelli2018-03-11 12:25:21 +0100
commitc773dc118e897d6e0b95c131051e73d6fef97111 (patch)
treea1e04a52f2923020e62a54ed534fea711ad89ae3
parentb88e7c8bcd523f1f503f87a1734679405322b5ec (diff)
downloademacs-c773dc118e897d6e0b95c131051e73d6fef97111.tar.gz
emacs-c773dc118e897d6e0b95c131051e73d6fef97111.zip
Document 'transpose-sentences' and 'transpose-paragraphs'
* doc/emacs/fixit.texi (Transpose): Add documentation and index entries for 'transpose-sentences' and 'transpose-paragraphs' (Bug#30343 in passing).
-rw-r--r--doc/emacs/fixit.texi12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi
index eb783d175c3..0cb8565c6a4 100644
--- a/doc/emacs/fixit.texi
+++ b/doc/emacs/fixit.texi
@@ -149,6 +149,10 @@ Transpose two words (@code{transpose-words}).
149Transpose two balanced expressions (@code{transpose-sexps}). 149Transpose two balanced expressions (@code{transpose-sexps}).
150@item C-x C-t 150@item C-x C-t
151Transpose two lines (@code{transpose-lines}). 151Transpose two lines (@code{transpose-lines}).
152@item M-x transpose-sentences
153Transpose two sentences (@code{transpose-sentences}).
154@item M-x transpose-paragraphs
155Transpose two paragraphs (@code{transpose-paragraphs}).
152@item M-x transpose-regions 156@item M-x transpose-regions
153Transpose two regions. 157Transpose two regions.
154@end table 158@end table
@@ -185,10 +189,14 @@ punctuation characters between the words do not move. For example,
185@samp{@w{BAR FOO,}}. When point is at the end of the line, it will 189@samp{@w{BAR FOO,}}. When point is at the end of the line, it will
186transpose the word before point with the first word on the next line. 190transpose the word before point with the first word on the next line.
187 191
192@findex transpose-sentences
193@findex transpose-paragraphs
188 @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for 194 @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for
189transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} 195transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t}
190(@code{transpose-lines}) exchanges lines. They work like @kbd{M-t} 196(@code{transpose-lines}) exchanges lines. @kbd{M-x
191except as regards the units of text they transpose. 197transpose-sentences} and @kbd{M-x transpose-paragraphs} transpose
198sentences and paragraphs, respectively. These commands work like
199@kbd{M-t} except as regards the units of text they transpose.
192 200
193 A numeric argument to a transpose command serves as a repeat count: it 201 A numeric argument to a transpose command serves as a repeat count: it
194tells the transpose command to move the character (or word or 202tells the transpose command to move the character (or word or