# HG changeset patch # User Kenichi Handa # Date 1021381425 0 # Node ID 8921fa5b6ff9b90da94c8ee232e60eda143f5dc1 # Parent d266b8fb8761c7329a2b28ae61ec1469f25a12e9 *** empty log message *** diff -r d266b8fb8761 -r 8921fa5b6ff9 src/ChangeLog --- a/src/ChangeLog Tue May 14 13:03:23 2002 +0000 +++ b/src/ChangeLog Tue May 14 13:03:45 2002 +0000 @@ -1,5 +1,8 @@ 2002-05-14 Kenichi Handa + * xfns.c (x_encode_text): Allocate coding.destination here, and + call encode_coding_object with dst_object Qnil. + * buffer.c (Fset_buffer_multibyte): Convert 8-bit bytes to multibyte form correctly. @@ -11,6 +14,12 @@ (encode_coding_iso_2022): Setup coding->safe_charsets in advance. (decode_coding_object): Move point to coding->dst_pos before calling post-read-conversion function. + (encode_coding_object): Give correct arguments ot + pre-write-conversion. Ignore the return value of + pre-write-conversion function. Pay attention for the case that + pre-write-conversion change the current buffer. If dst_object is + Qt, even if coding->src_bytes is zero, allocate at least one byte + to coding->destination. * coding.h (JIS_TO_SJIS): Fix typo (j1->s1, j2->s2).