diff options
author | Charles A. Roelli <charles@aurox.ch> | 2018-03-11 12:25:21 +0100 |
---|---|---|
committer | Charles A. Roelli <charles@aurox.ch> | 2018-03-11 12:25:21 +0100 |
commit | c773dc118e897d6e0b95c131051e73d6fef97111 (patch) | |
tree | a1e04a52f2923020e62a54ed534fea711ad89ae3 /doc/emacs/fixit.texi | |
parent | b88e7c8bcd523f1f503f87a1734679405322b5ec (diff) | |
download | emacs-c773dc118e897d6e0b95c131051e73d6fef97111.tar.gz |
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).
Diffstat (limited to 'doc/emacs/fixit.texi')
-rw-r--r-- | doc/emacs/fixit.texi | 12 |
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}). 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 |