HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d21101
)
(decode_coding_string): Handle post-read-conversion
author
Kenichi Handa
<handa@m17n.org>
Mon, 19 May 2003 13:02:39 +0000
(13:02 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 19 May 2003 13:02:39 +0000
(13:02 +0000)
even if the coding doesn't require decoding.
src/coding.c
patch
|
blob
|
blame
|
history
diff --git
a/src/coding.c
b/src/coding.c
index
9a6b611
..
2867a0d
100644
(file)
--- 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);