From c198294fdd8970e5a87fd278d949e41832a0012c Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 8 Jun 2006 06:48:23 +0000 Subject: [PATCH] (CODING_REQUIRE_ENCODING): Comment sync with HEAD. --- src/coding.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 /* Return 1 if the coding context CODING requires code conversion on - encoding. */ + encoding. + The non-multibyte part of the condition is to support encoding of + unibyte strings/buffers generated by string-as-unibyte or + (set-buffer-multibyte nil) from multibyte strings/buffers. */ #define CODING_REQUIRE_ENCODING(coding) \ ((coding)->src_multibyte \ || (coding)->common_flags & CODING_REQUIRE_ENCODING_MASK \ -- 2.39.5