From: Kenichi Handa Date: Mon, 19 May 2003 13:02:39 +0000 (+0000) Subject: (decode_coding_string): Handle post-read-conversion X-Git-Tag: ttn-vms-21-2-B4~10080 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=439ad9ea83423eea619a27c54ad0fd9508c4d947;p=emacs.git (decode_coding_string): Handle post-read-conversion even if the coding doesn't require decoding. --- diff --git a/src/coding.c b/src/coding.c index 9a6b611c0dc..2867a0dc233 100644 --- a/src/coding.c +++ b/src/coding.c @@ -5986,7 +5986,9 @@ decode_coding_string (str, coding, nocopy) shrinked_bytes = from + (SBYTES (str) - to_byte); } - if (!require_decoding) + if (!require_decoding + && !(SYMBOLP (coding->post_read_conversion) + && !NILP (Ffboundp (coding->post_read_conversion)))) { coding->consumed = SBYTES (str); coding->consumed_char = SCHARS (str);