buffer-swap-text

buffer-swap-text is a built-in function in `C source code'.

(buffer-swap-text BUFFER)

Swap the text between current buffer and BUFFER.