diff options
| author | Charles A. Roelli | 2018-03-11 12:25:21 +0100 |
|---|---|---|
| committer | Charles A. Roelli | 2018-03-11 12:25:21 +0100 |
| commit | c773dc118e897d6e0b95c131051e73d6fef97111 (patch) | |
| tree | a1e04a52f2923020e62a54ed534fea711ad89ae3 | |
| parent | b88e7c8bcd523f1f503f87a1734679405322b5ec (diff) | |
| download | emacs-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.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}). | |||
| 149 | Transpose two balanced expressions (@code{transpose-sexps}). | 149 | Transpose two balanced expressions (@code{transpose-sexps}). |
| 150 | @item C-x C-t | 150 | @item C-x C-t |
| 151 | Transpose two lines (@code{transpose-lines}). | 151 | Transpose two lines (@code{transpose-lines}). |
| 152 | @item M-x transpose-sentences | ||
| 153 | Transpose two sentences (@code{transpose-sentences}). | ||
| 154 | @item M-x transpose-paragraphs | ||
| 155 | Transpose two paragraphs (@code{transpose-paragraphs}). | ||
| 152 | @item M-x transpose-regions | 156 | @item M-x transpose-regions |
| 153 | Transpose two regions. | 157 | Transpose 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 |
| 186 | transpose the word before point with the first word on the next line. | 190 | transpose 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 |
| 189 | transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} | 195 | transposing 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 |
| 191 | except as regards the units of text they transpose. | 197 | transpose-sentences} and @kbd{M-x transpose-paragraphs} transpose |
| 198 | sentences 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 |
| 194 | tells the transpose command to move the character (or word or | 202 | tells the transpose command to move the character (or word or |