From: Eli Zaretskii Date: Sat, 20 May 2006 19:04:35 +0000 (+0000) Subject: (CODING_REQUIRE_ENCODING): Elaborate the comment. X-Git-Tag: emacs-pretest-22.0.90~2454 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d836fdf52e0db7135b6be7cebcc0fe1d7f1c177e;p=emacs.git (CODING_REQUIRE_ENCODING): Elaborate the comment. --- 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 || (coding)->common_flags & CODING_REQUIRE_DECODING_MASK) /* Return 1 if the coding system 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)