# HG changeset patch # User Kenichi Handa # Date 1053349359 0 # Node ID 269d016f45bd2e1c08cc4979d3d22f6c6f19eb28 # Parent 8522d9f71ac38166251cdaaf89a25f7a011b6a27 (decode_coding_string): Handle post-read-conversion even if the coding doesn't require decoding. diff -r 8522d9f71ac3 -r 269d016f45bd src/coding.c --- a/src/coding.c Mon May 19 13:02:16 2003 +0000 +++ b/src/coding.c Mon May 19 13:02:39 2003 +0000 @@ -5986,7 +5986,9 @@ 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);