diff options
| author | Kenichi Handa | 2012-10-14 17:06:11 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-10-14 17:06:11 +0900 |
| commit | 9fe32d61c5655878f877522ac4bcc251d092f732 (patch) | |
| tree | 584f4c85fd2e44e8e7d597382f177359b737acb1 /src/coding.c | |
| parent | f5772b8eaee90d0b50a60bd55d9d28805a2543cb (diff) | |
| parent | 8111f5e6f05228e36496f3bdccad711f569acb9b (diff) | |
| download | emacs-9fe32d61c5655878f877522ac4bcc251d092f732.tar.gz emacs-9fe32d61c5655878f877522ac4bcc251d092f732.zip | |
merge trunk
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index d9606cf5710..412d7245223 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6301,6 +6301,9 @@ detect_coding (struct coding_system *coding) | |||
| 6301 | { | 6301 | { |
| 6302 | category = coding_priorities[i]; | 6302 | category = coding_priorities[i]; |
| 6303 | this = coding_categories + category; | 6303 | this = coding_categories + category; |
| 6304 | /* Some of this->detector (e.g. detect_coding_sjis) | ||
| 6305 | require this information. */ | ||
| 6306 | coding->id = this->id; | ||
| 6304 | if (this->id < 0) | 6307 | if (this->id < 0) |
| 6305 | { | 6308 | { |
| 6306 | /* No coding system of this category is defined. */ | 6309 | /* No coding system of this category is defined. */ |