diff options
| author | Eli Zaretskii | 2006-05-20 19:04:35 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-05-20 19:04:35 +0000 |
| commit | d836fdf52e0db7135b6be7cebcc0fe1d7f1c177e (patch) | |
| tree | 0b4d21e5dc6980fa3396ea7135e0352d5c4c9e72 /src/coding.h | |
| parent | 375136cc7cd5be2bfb9cea04dc89d70ef52d314f (diff) | |
| download | emacs-d836fdf52e0db7135b6be7cebcc0fe1d7f1c177e.tar.gz emacs-d836fdf52e0db7135b6be7cebcc0fe1d7f1c177e.zip | |
(CODING_REQUIRE_ENCODING): Elaborate the comment.
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 54553a071fa..5727b57a850 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -462,7 +462,10 @@ struct coding_system | |||
| 462 | || (coding)->common_flags & CODING_REQUIRE_DECODING_MASK) | 462 | || (coding)->common_flags & CODING_REQUIRE_DECODING_MASK) |
| 463 | 463 | ||
| 464 | /* Return 1 if the coding system CODING requires code conversion on | 464 | /* Return 1 if the coding system CODING requires code conversion on |
| 465 | encoding. */ | 465 | encoding. |
| 466 | The non-multibyte part of the condition is to support encoding of | ||
| 467 | unibyte strings/buffers generated by string-as-unibyte or | ||
| 468 | (set-buffer-multibyte nil) from multibyte strings/buffers. */ | ||
| 466 | #define CODING_REQUIRE_ENCODING(coding) \ | 469 | #define CODING_REQUIRE_ENCODING(coding) \ |
| 467 | ((coding)->src_multibyte \ | 470 | ((coding)->src_multibyte \ |
| 468 | || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK) | 471 | || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK) |