Function: ansi-color-make-extent

Make an extent for the range [FROM, TO) in OBJECT.

OBJECT defaults to the current buffer. XEmacs uses `make-extent', Emacs
uses `make-overlay'. XEmacs can use a buffer or a string for OBJECT,
Emacs requires OBJECT to be a buffer.