diff options
| author | Eli Zaretskii | 2012-10-14 10:03:16 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-10-14 10:03:16 +0200 |
| commit | dd8c2f5adeba029790a007ec829e18442a4ade36 (patch) | |
| tree | ea6045c78021c965e34bbfafa4ca36e8b8533c84 /src/coding.c | |
| parent | 4f0800ec2ffdfee7b56062aeac263e5071cf8868 (diff) | |
| parent | 8111f5e6f05228e36496f3bdccad711f569acb9b (diff) | |
| download | emacs-dd8c2f5adeba029790a007ec829e18442a4ade36.tar.gz emacs-dd8c2f5adeba029790a007ec829e18442a4ade36.zip | |
Merge from 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. */ |