(decode_coding_string): Handle post-read-conversion

even if the coding doesn't require decoding.
This commit is contained in:
Kenichi Handa 2003-05-19 13:02:39 +00:00
parent 1d211019ec
commit 439ad9ea83

View file

@ -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);