Clarify yank-pop doc string
* lisp/simple.el (yank-pop): Mention `kill-ring' to make it more clear what the command is doing (bug#25196).
This commit is contained in:
parent
ef85d54ca1
commit
a975c87831
1 changed files with 5 additions and 4 deletions
|
@ -4972,10 +4972,11 @@ Normally set from the UNDO element of a yank-handler; see `insert-for-yank'.")
|
|||
|
||||
(defun yank-pop (&optional arg)
|
||||
"Replace just-yanked stretch of killed text with a different stretch.
|
||||
This command is allowed only immediately after a `yank' or a `yank-pop'.
|
||||
At such a time, the region contains a stretch of reinserted
|
||||
previously-killed text. `yank-pop' deletes that text and inserts in its
|
||||
place a different stretch of killed text.
|
||||
This command is allowed only immediately after a `yank' or a
|
||||
`yank-pop'. At such a time, the region contains a stretch of
|
||||
reinserted previously-killed text. `yank-pop' deletes that text
|
||||
and inserts in its place a different stretch of killed text by
|
||||
traversing the value of the `kill-ring' variable.
|
||||
|
||||
With no argument, the previous kill is inserted.
|
||||
With argument N, insert the Nth previous kill.
|
||||
|
|
Loading…
Add table
Reference in a new issue