aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJason Rumney2008-12-20 09:33:52 +0000
committerJason Rumney2008-12-20 09:33:52 +0000
commitc855d68235e7ac1446e571c16f47be5e3e1282e8 (patch)
treee1c1e5165faabefe648615f582a33d2359119a31 /lisp
parentb2dab6c8f718458689396188f659b09571b473dc (diff)
downloademacs-c855d68235e7ac1446e571c16f47be5e3e1282e8.tar.gz
emacs-c855d68235e7ac1446e571c16f47be5e3e1282e8.zip
(auto-coding-regexp-alist): Use utf-8-with-signature for files
starting with UTF-8 BOM.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/mule.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2aa4e4def6a..350ef2a3b10 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-12-20 Jason Rumney <jasonr@gnu.org>
2
3 * international/mule.el (auto-coding-regexp-alist): Use
4 utf-8-with-signature for files starting with UTF-8 BOM.
5
12008-12-20 Ami Fischman <ami@fischman.org> 62008-12-20 Ami Fischman <ami@fischman.org>
2 7
3 * bindings.el (mode-line-eol-desc): Use assoc to query 8 * bindings.el (mode-line-eol-desc): Use assoc to query
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 9563fa42733..23e3bfa8e4b 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1600,7 +1600,7 @@ and the contents of `file-coding-system-alist'."
1600 '(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion) 1600 '(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)
1601 ("\\`\xFE\xFF" . utf-16be-with-signature) 1601 ("\\`\xFE\xFF" . utf-16be-with-signature)
1602 ("\\`\xFF\xFE" . utf-16le-with-signature) 1602 ("\\`\xFF\xFE" . utf-16le-with-signature)
1603 ("\\`\xEF\xBB\xBF" . utf-8) 1603 ("\\`\xEF\xBB\xBF" . utf-8-with-signature)
1604 ("\\`;ELC\024\0\0\0" . emacs-mule)) ; Emacs 20-compiled 1604 ("\\`;ELC\024\0\0\0" . emacs-mule)) ; Emacs 20-compiled
1605 "Alist of patterns vs corresponding coding systems. 1605 "Alist of patterns vs corresponding coding systems.
1606Each element looks like (REGEXP . CODING-SYSTEM). 1606Each element looks like (REGEXP . CODING-SYSTEM).