# HG changeset patch # User Kenichi Handa # Date 1149749303 0 # Node ID 884c305a97990d99913c3d85cd5030a686ca3a06 # Parent 19bee54e2dfc9d0b6a1252983c0fdd4eeb023522 (CODING_REQUIRE_ENCODING): Comment sync with HEAD. diff -r 19bee54e2dfc -r 884c305a9799 src/coding.h --- a/src/coding.h Wed Jun 07 19:47:17 2006 +0000 +++ b/src/coding.h Thu Jun 08 06:48:23 2006 +0000 @@ -489,7 +489,10 @@ /* 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 \