ses-yank-pop

ses-yank-pop is an interactive compiled Lisp function in `ses.el'.


(ses-yank-pop 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',
when the region contains a stretch of reinserted previously-killed text.
We replace it with a different stretch of killed text.
Unlike standard `yank-pop', this function uses `undo' to delete the
previous insertion.