diff options
| -rw-r--r-- | doc/emacs/killing.texi | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index f4a4a185a66..0629736b7fd 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi | |||
| @@ -217,7 +217,7 @@ the key sequence @kbd{C-S-backspace}. | |||
| 217 | 217 | ||
| 218 | @table @kbd | 218 | @table @kbd |
| 219 | @item C-w | 219 | @item C-w |
| 220 | Kill region (from point to the mark) (@code{kill-region}). | 220 | Kill region (@code{kill-region}). @xref{Mark}. |
| 221 | @item M-d | 221 | @item M-d |
| 222 | Kill word (@code{kill-word}). @xref{Words}. | 222 | Kill word (@code{kill-word}). @xref{Words}. |
| 223 | @item M-@key{DEL} | 223 | @item M-@key{DEL} |
| @@ -299,14 +299,16 @@ This is the usual way to move text from one file to another. | |||
| 299 | 299 | ||
| 300 | @kindex C-y | 300 | @kindex C-y |
| 301 | @findex yank | 301 | @findex yank |
| 302 | The command @kbd{C-y} (@code{yank}) reinserts the text of the most recent | 302 | The command @kbd{C-y} (@code{yank}) reinserts the text of the most |
| 303 | kill. It leaves the cursor at the end of the text. It sets the mark at | 303 | recent kill, leaving the cursor at the end of the text. It also adds |
| 304 | the beginning of the text. @xref{Mark}. | 304 | the position of the beginning of the text to the mark ring, without |
| 305 | 305 | activating the mark; this allows you to jump easily to that position | |
| 306 | @kbd{C-u C-y} leaves the cursor in front of the text, and sets the | 306 | with @kbd{C-@key{SPC}} (@pxref{Mark Ring}). With a plain prefix |
| 307 | mark after it. This happens only if the argument is specified with just | 307 | argument (@kbd{C-u C-y}), it instead leaves the cursor in front of the |
| 308 | a @kbd{C-u}, precisely. Any other sort of argument, including @kbd{C-u} | 308 | text, and adds the position of the end of the text to the mark ring. |
| 309 | and digits, specifies an earlier kill to yank (@pxref{Earlier Kills}). | 309 | Using other sort of prefix argument specifies an earlier kill; for |
| 310 | example, @kbd{C-u 4 C-y} reinserts the fourth most recent kill. | ||
| 311 | @xref{Earlier Kills}). | ||
| 310 | 312 | ||
| 311 | @cindex yanking and text properties | 313 | @cindex yanking and text properties |
| 312 | @vindex yank-excluded-properties | 314 | @vindex yank-excluded-properties |
| @@ -491,13 +493,13 @@ copy-to-buffer} is similar, except that any existing text in the other | |||
| 491 | buffer is deleted, so the buffer is left containing just the text newly | 493 | buffer is deleted, so the buffer is left containing just the text newly |
| 492 | copied into it. | 494 | copied into it. |
| 493 | 495 | ||
| 494 | To retrieve the accumulated text from another buffer, use the | 496 | The command @kbd{M-x insert-buffer} can be used to retrieve the |
| 495 | command @kbd{M-x insert-buffer}; this too takes @var{buffername} as an | 497 | accumulated text from another buffer. This prompts for the name of a |
| 496 | argument. It inserts a copy of the whole text in buffer | 498 | buffer, and inserts a copy of all the text in that buffer into the |
| 497 | @var{buffername} into the current buffer at point, and sets the mark | 499 | current buffer at point, leaving point at the beginning of the |
| 498 | after the inserted text. Alternatively, you can select the other | 500 | inserted text. It also adds the position of the end of the inserted |
| 499 | buffer for editing, then copy text from it by killing. | 501 | text to the mark ring, without activating the mark. @xref{Buffers}, |
| 500 | @xref{Buffers}, for background information on buffers. | 502 | for background information on buffers. |
| 501 | 503 | ||
| 502 | Instead of accumulating text within Emacs, in a buffer, you can append | 504 | Instead of accumulating text within Emacs, in a buffer, you can append |
| 503 | text directly into a file with @kbd{M-x append-to-file}, which takes | 505 | text directly into a file with @kbd{M-x append-to-file}, which takes |