diff options
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h index 41f4aab509c..93375d2c2eb 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -489,7 +489,10 @@ struct coding_system | |||
| 489 | 489 | ||
| 490 | 490 | ||
| 491 | /* Return 1 if the coding context CODING requires code conversion on | 491 | /* Return 1 if the coding context CODING requires code conversion on |
| 492 | encoding. */ | 492 | encoding. |
| 493 | The non-multibyte part of the condition is to support encoding of | ||
| 494 | unibyte strings/buffers generated by string-as-unibyte or | ||
| 495 | (set-buffer-multibyte nil) from multibyte strings/buffers. */ | ||
| 493 | #define CODING_REQUIRE_ENCODING(coding) \ | 496 | #define CODING_REQUIRE_ENCODING(coding) \ |
| 494 | ((coding)->src_multibyte \ | 497 | ((coding)->src_multibyte \ |
| 495 | || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK \ | 498 | || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK \ |