detect-coding-with-priority

detect-coding-with-priority is an autoloaded Lisp macro in `mule-util.el'.

(detect-coding-with-priority FROM TO PRIORITY-LIST)

This macro is obsolete since 23.1;
use `with-coding-priority' instead.

Detect a coding system of the text between FROM and TO with PRIORITY-LIST.
PRIORITY-LIST is an alist of coding categories vs the corresponding
coding systems ordered by priority.