erc-grab-region

erc-grab-region is an interactive compiled Lisp function in `erc.el'.


(erc-grab-region START END)

Copy the region between START and END in a recreatable format.

Converts all the IRC text properties in each line of the region
into control codes and writes them to a separate buffer. The
resulting text may be used directly as a script to generate this
text again.