Commit 439ad9ea authored by Kenichi Handa's avatar Kenichi Handa

(decode_coding_string): Handle post-read-conversion

even if the coding doesn't require decoding.
parent 1d211019
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment