changeset 90431:884c305a9799

(CODING_REQUIRE_ENCODING): Comment sync with HEAD.
author Kenichi Handa <handa@m17n.org>
date Thu, 08 Jun 2006 06:48:23 +0000
parents 19bee54e2dfc
children 0608690171d1
files src/coding.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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	\