diff options
| author | Paul Eggert | 2012-01-09 09:36:10 -0800 |
|---|---|---|
| committer | Paul Eggert | 2012-01-09 09:36:10 -0800 |
| commit | 35cf62d95cdcd5323dcea4a5385942c342ff1d9c (patch) | |
| tree | 90358cbb033a126c4d48793a80fd804b7baaca24 /src/coding.c | |
| parent | 59815c02506eb39b61e672528ed03885749ba529 (diff) | |
| parent | 7655cb66d86564e792b825f1a0e1a4de7d6e6db5 (diff) | |
| download | emacs-35cf62d95cdcd5323dcea4a5385942c342ff1d9c.tar.gz emacs-35cf62d95cdcd5323dcea4a5385942c342ff1d9c.zip | |
Merge from trunk.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coding.c b/src/coding.c index a2ea9b302cf..be7166e8a14 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Coding system handler (conversion, detection, etc). | 1 | /* Coding system handler (conversion, detection, etc). |
| 2 | Copyright (C) 2001-2011 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 3 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 4 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| @@ -10003,8 +10003,6 @@ usage: (define-coding-system-internal ...) */) | |||
| 10003 | { | 10003 | { |
| 10004 | Lisp_Object bom; | 10004 | Lisp_Object bom; |
| 10005 | 10005 | ||
| 10006 | CODING_ATTR_ASCII_COMPAT (attrs) = Qt; | ||
| 10007 | |||
| 10008 | if (nargs < coding_arg_utf8_max) | 10006 | if (nargs < coding_arg_utf8_max) |
| 10009 | goto short_args; | 10007 | goto short_args; |
| 10010 | 10008 | ||
| @@ -10018,6 +10016,8 @@ usage: (define-coding-system-internal ...) */) | |||
| 10018 | CHECK_CODING_SYSTEM (val); | 10016 | CHECK_CODING_SYSTEM (val); |
| 10019 | } | 10017 | } |
| 10020 | ASET (attrs, coding_attr_utf_bom, bom); | 10018 | ASET (attrs, coding_attr_utf_bom, bom); |
| 10019 | if (NILP (bom)) | ||
| 10020 | CODING_ATTR_ASCII_COMPAT (attrs) = Qt; | ||
| 10021 | 10021 | ||
| 10022 | category = (CONSP (bom) ? coding_category_utf_8_auto | 10022 | category = (CONSP (bom) ? coding_category_utf_8_auto |
| 10023 | : NILP (bom) ? coding_category_utf_8_nosig | 10023 | : NILP (bom) ? coding_category_utf_8_nosig |