mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-26 19:18:50 +00:00
(compute_motion): Ignore the display table entry for a
base leading code when dealing with multibyte characters.
This commit is contained in:
parent
3c19e6c145
commit
39ffc6175d
@ -1256,7 +1256,8 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
|
||||
}
|
||||
}
|
||||
|
||||
if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c)))
|
||||
if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c))
|
||||
&& ! (multibyte && BASE_LEADING_CODE_P (c)))
|
||||
hpos += XVECTOR (DISP_CHAR_VECTOR (dp, c))->size;
|
||||
else if (c >= 040 && c < 0177)
|
||||
hpos++;
|
||||
|
Loading…
Reference in New Issue
Block a user