comparison lisp/international/mule.el @ 69504:112d44d51c3e

(auto-coding-regexp-alist): Add entries for Unicode BOM.
author Kenichi Handa <handa@m17n.org>
date Thu, 16 Mar 2006 02:21:34 +0000
parents f4bef16905cb
children eadcb9a07042 b901f4f12f33 e3bacb89536a
comparison
equal deleted inserted replaced
69503:0937e89a24cd 69504:112d44d51c3e
1584 :group 'mule 1584 :group 'mule
1585 :type '(repeat (cons (regexp :tag "File name regexp") 1585 :type '(repeat (cons (regexp :tag "File name regexp")
1586 (symbol :tag "Coding system")))) 1586 (symbol :tag "Coding system"))))
1587 1587
1588 (defcustom auto-coding-regexp-alist 1588 (defcustom auto-coding-regexp-alist
1589 '(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)) 1589 '(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)
1590 ("\\`\xFE\xFF" . utf-16be-with-signature)
1591 ("\\`\xFF\xFE" . utf-16le-with-signature)
1592 ("\\`\xEF\xBB\xBF" . utf-8))
1590 "Alist of patterns vs corresponding coding systems. 1593 "Alist of patterns vs corresponding coding systems.
1591 Each element looks like (REGEXP . CODING-SYSTEM). 1594 Each element looks like (REGEXP . CODING-SYSTEM).
1592 A file whose first bytes match REGEXP is decoded by CODING-SYSTEM on reading. 1595 A file whose first bytes match REGEXP is decoded by CODING-SYSTEM on reading.
1593 1596
1594 The settings in this alist take priority over `coding:' tags 1597 The settings in this alist take priority over `coding:' tags