From: Kenichi Handa Date: Thu, 29 May 2008 22:58:58 +0000 (+0000) Subject: (define-coding-system): Accept :bom for X-Git-Tag: emacs-pretest-23.0.90~5217 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=736c927616167225eec127a77a18c224f9f8fe07;p=emacs.git (define-coding-system): Accept :bom for utf-8. --- diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 9b24e2c618f..9e0d575e6fc 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -767,6 +767,8 @@ encoding. This attribute has a meaning only when `:coding-type' is :reg-usage :request :flags)) + ((eq coding-type 'utf-8) + '(:bom)) ((eq coding-type 'utf-16) '(:bom :endian))