(Funencodable_char_position): Set pend correctly.
This commit is contained in:
parent
b8c6225c28
commit
200c93e2af
1 changed files with 4 additions and 1 deletions
|
@ -6569,7 +6569,10 @@ to the string. */)
|
|||
if (NILP (current_buffer->enable_multibyte_characters))
|
||||
return Qnil;
|
||||
p = CHAR_POS_ADDR (from);
|
||||
pend = CHAR_POS_ADDR (to);
|
||||
if (to == GPT)
|
||||
pend = GPT_ADDR;
|
||||
else
|
||||
pend = CHAR_POS_ADDR (to);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue