diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-04-24 11:09:21 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-04-24 11:09:21 +0000 |
commit | 1e1e6d529c8e07ec4afa7c49ab3ffa2a6613fce7 (patch) | |
tree | 380a5ef805f85f6d8eb5a940eea49ba0b50c6b5b /man/killing.texi | |
parent | 8748ecc048f16dd3b5be8275aa4301f7f08b5ba2 (diff) | |
download | emacs-1e1e6d529c8e07ec4afa7c49ab3ffa2a6613fce7.tar.gz |
Adapt to the change of string-rectangle back to 20.x behaviour.
Diffstat (limited to 'man/killing.texi')
-rw-r--r-- | man/killing.texi | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/man/killing.texi b/man/killing.texi index fb4c15077cf..5ade2f214fa 100644 --- a/man/killing.texi +++ b/man/killing.texi @@ -538,11 +538,13 @@ Clear the region-rectangle by replacing its contents with spaces. Delete whitespace in each of the lines on the specified rectangle, starting from the left edge column of the rectangle. @item C-x r t @var{string} @key{RET} -Insert @var{string} on each line of the region-rectangle +Replace rectangle contents with @var{string} on each line. (@code{string-rectangle}). @item M-x replace-rectangle @key{RET} @var{string} @key{RET} Replaces each line of the region-rectangle with @var{string} (@code{string-rectangle}). +@item M-x string-insert-rectangle @key{RET} @var{string} @key{RET} +Insert @var{STRING} on each line of the rectangle. @end table The rectangle operations fall into two classes: commands deleting and @@ -603,13 +605,15 @@ any difference to this command. @kindex C-x r t @findex string-rectangle - The command @kbd{C-x r t} (@code{M-x string-rectangle}) inserts a -string on each line of the region-rectangle before the rectangle, -shifting text right. - @findex replace-rectangle - The command @kbd{M-x replace-rectangle} is similar to @kbd{C-x r t}, -but replaces the original rectangle. The string's width need not be -the same as the width of the rectangle. If the string's width is -less, the text after the rectangle shifts left; if the string is wider -than the rectangle, the text after the rectangle shifts right. + The command @kbd{C-x r t} (@code{M-x string-rectangle}) replaces the +contents of a region-rectangle with a string on each line. The +string's width need not be the same as the width of the rectangle. If +the string's width is less, the text after the rectangle shifts left; +if the string is wider than the rectangle, the text after the +rectangle shifts right. + +@findex string-insert-rectangle + The command @kbd{M-x string-insert-rectangle} is similar to +@code{string-rectangle}, but inserts the string on each line, +shifting the original text to the right. |