Commit ff94e32c authored by Kenichi Handa's avatar Kenichi Handa
Browse files

Fix finding a stop position for composition.

parent 2c0ac867
2010-08-25 Kenichi Handa <>
* composite.c (composition_compute_stop_pos): In forward search,
pay attention to the possibility that some character after ENDPOS
will be composed with charactrs before ENDPOS.
2010-08-19 Jan Djärv <>
* nsselect.m (nxatoms_of_nsselect): Use "Selection" and "Secondary".
......@@ -1091,6 +1091,16 @@ composition_compute_stop_pos (struct composition_it *cmp_it, EMACS_INT charpos,
if (charpos == endpos)
/* We couldn't find a composition point before ENDPOS. But,
some character after ENDPOS may be composed with
characters before ENDPOS. So, we should stop at the safe
point. */
if (charpos < start)
charpos = start;
else if (charpos > endpos)
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