Function: charset-priority-list
charset-priority-list is a function defined in charset.c.
Signature
(charset-priority-list &optional HIGHESTP)
Documentation
Return the list of charsets ordered by priority.
HIGHESTP non-nil means just return the highest priority one.
Probably introduced at or before Emacs version 23.1.
Source Code
// Defined in /usr/src/emacs/src/charset.c
{
Lisp_Object val = Qnil, list = Vcharset_ordered_list;
if (!NILP (highestp))
return CHARSET_NAME (CHARSET_FROM_ID (XFIXNUM (Fcar (list))));
while (!NILP (list))
{
val = Fcons (CHARSET_NAME (CHARSET_FROM_ID (XFIXNUM (XCAR (list)))), val);
list = XCDR (list);
}
return Fnreverse (val);
}