Commit dcfb9bc4 authored by Kenichi Handa's avatar Kenichi Handa

buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte form of raw-bytes.

parent 4aa2c3b2
2010-03-02 Kenichi Handa <handa@m17n.org>
* buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte
form of raw-bytes.
2010-02-28 Chong Yidong <cyd@stupidchicken.com>
* charset.c (load_charset_map_from_file)
......
......@@ -2497,7 +2497,9 @@ current buffer is cleared. */)
if (ASCII_BYTE_P (*p))
p++, pos++;
else if (EQ (flag, Qt) && (bytes = MULTIBYTE_LENGTH (p, pend)) > 0)
else if (EQ (flag, Qt)
&& ! CHAR_BYTE8_HEAD_P (*p)
&& (bytes = MULTIBYTE_LENGTH (p, pend)) > 0)
p += bytes, pos += bytes;
else
{
......
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