Commit dc5c3489 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(auto-coding-regexp-alist): Add entries

for Unicode BOM.
parent 8d40f004
2006-03-16 Kenichi Handa <>
* international/mule.el (auto-coding-regexp-alist): Add entries
for Unicode BOM.
* sort.el (sort-build-lists): Temporarily bind
inhibit-field-text-motion to t.
......@@ -1586,7 +1586,10 @@ and the contents of `file-coding-system-alist'."
(symbol :tag "Coding system"))))
(defcustom auto-coding-regexp-alist
'(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion))
'(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)
("\\`\xFE\xFF" . utf-16be-with-signature)
("\\`\xFF\xFE" . utf-16le-with-signature)
("\\`\xEF\xBB\xBF" . utf-8))
"Alist of patterns vs corresponding coding systems.
Each element looks like (REGEXP . CODING-SYSTEM).
A file whose first bytes match REGEXP is decoded by CODING-SYSTEM on reading.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment