+2012-10-13 HANATAKA, Shinya <bogytech@gmail.com> (tiny change)
+
+ * coding.c (detect_coding): Set coding->id before calling
+ this->detector.
+
2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
* doc.c (get_doc_string): Don't signal an error if the file is missing.
{
category = coding_priorities[i];
this = coding_categories + category;
+ /* Some of this->detector (e.g. detect_coding_sjis)
+ require this information. */
+ coding->id = this->id;
if (this->id < 0)
{
/* No coding system of this category is defined. */