buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte form of raw-bytes.
This commit is contained in:
parent
4aa2c3b270
commit
dcfb9bc4a1
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue