diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index 69e3b7e3e3d..3fa383ad7be 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6313,7 +6313,7 @@ highest priority. */) | |||
| 6313 | the detecting source. Then code detectors can handle the tailing | 6313 | the detecting source. Then code detectors can handle the tailing |
| 6314 | byte sequence more accurately. | 6314 | byte sequence more accurately. |
| 6315 | 6315 | ||
| 6316 | Fix me: This is not an perfect solution. It is better that we | 6316 | Fix me: This is not a perfect solution. It is better that we |
| 6317 | add one more argument, say LAST_BLOCK, to all detect_coding_XXX. | 6317 | add one more argument, say LAST_BLOCK, to all detect_coding_XXX. |
| 6318 | */ | 6318 | */ |
| 6319 | if (to == Z || (to == GPT && GAP_SIZE > 0)) | 6319 | if (to == Z || (to == GPT && GAP_SIZE > 0)) |
| @@ -6538,7 +6538,7 @@ unencodable_char_position (safe_chars, pos, p, pend, n) | |||
| 6538 | { | 6538 | { |
| 6539 | int len; | 6539 | int len; |
| 6540 | int c = STRING_CHAR_AND_LENGTH (p, MAX_MULTIBYTE_LENGTH, len); | 6540 | int c = STRING_CHAR_AND_LENGTH (p, MAX_MULTIBYTE_LENGTH, len); |
| 6541 | 6541 | ||
| 6542 | if (c >= 128 | 6542 | if (c >= 128 |
| 6543 | && (CHAR_TABLE_P (safe_chars) | 6543 | && (CHAR_TABLE_P (safe_chars) |
| 6544 | ? NILP (CHAR_TABLE_REF (safe_chars, c)) | 6544 | ? NILP (CHAR_TABLE_REF (safe_chars, c)) |