From c773dc118e897d6e0b95c131051e73d6fef97111 Mon Sep 17 00:00:00 2001 From: "Charles A. Roelli" Date: Sun, 11 Mar 2018 12:25:21 +0100 Subject: [PATCH] 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). --- doc/emacs/fixit.texi | 12 ++++++++++-- 1 file 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}). Transpose two balanced expressions (@code{transpose-sexps}). @item C-x C-t Transpose two lines (@code{transpose-lines}). +@item M-x transpose-sentences +Transpose two sentences (@code{transpose-sentences}). +@item M-x transpose-paragraphs +Transpose two paragraphs (@code{transpose-paragraphs}). @item M-x transpose-regions Transpose two regions. @end table @@ -185,10 +189,14 @@ punctuation characters between the words do not move. For example, @samp{@w{BAR FOO,}}. When point is at the end of the line, it will transpose the word before point with the first word on the next line. +@findex transpose-sentences +@findex transpose-paragraphs @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} -(@code{transpose-lines}) exchanges lines. They work like @kbd{M-t} -except as regards the units of text they transpose. +(@code{transpose-lines}) exchanges lines. @kbd{M-x +transpose-sentences} and @kbd{M-x transpose-paragraphs} transpose +sentences and paragraphs, respectively. These commands work like +@kbd{M-t} except as regards the units of text they transpose. A numeric argument to a transpose command serves as a repeat count: it tells the transpose command to move the character (or word or -- 2.39.2