(CODING_REQUIRE_ENCODING): Elaborate the comment.
This commit is contained in:
parent
375136cc7c
commit
d836fdf52e
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue