aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2006-03-16 02:22:20 +0000
committerKenichi Handa2006-03-16 02:22:20 +0000
commitdc5c3489f44f5bd0a17ee3deef9363387f5b4de5 (patch)
tree59fd6b712441866103724dad9e71093f011cd53e
parent8d40f00458e961d50d0268f8ff96af5e47f5967f (diff)
downloademacs-dc5c3489f44f5bd0a17ee3deef9363387f5b4de5.tar.gz
emacs-dc5c3489f44f5bd0a17ee3deef9363387f5b4de5.zip
(auto-coding-regexp-alist): Add entries
for Unicode BOM.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/international/mule.el5
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 22a20d99412..8733b664457 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12006-03-16 Kenichi Handa <handa@m17n.org> 12006-03-16 Kenichi Handa <handa@m17n.org>
2 2
3 * international/mule.el (auto-coding-regexp-alist): Add entries
4 for Unicode BOM.
5
3 * sort.el (sort-build-lists): Temporarily bind 6 * sort.el (sort-build-lists): Temporarily bind
4 inhibit-field-text-motion to t. 7 inhibit-field-text-motion to t.
5 8
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index d356736071d..20b0a3fc0ef 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1586,7 +1586,10 @@ and the contents of `file-coding-system-alist'."
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.
1591Each element looks like (REGEXP . CODING-SYSTEM). 1594Each element looks like (REGEXP . CODING-SYSTEM).
1592A file whose first bytes match REGEXP is decoded by CODING-SYSTEM on reading. 1595A file whose first bytes match REGEXP is decoded by CODING-SYSTEM on reading.