(decode_coding_string): Handle post-read-conversion
even if the coding doesn't require decoding.
This commit is contained in:
parent
1d211019ec
commit
439ad9ea83
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue