mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
One more fix of the BPA implementation
* src/bidi.c (bidi_find_bracket_pairs): Disable BPA optimization when there are no strong directional characters inside the bracketed pair. (Bug#54219)
This commit is contained in:
parent
cd51d9c7ab
commit
92e2d19fe7
@ -2758,6 +2758,7 @@ bidi_find_bracket_pairs (struct bidi_it *bidi_it)
|
||||
(which requires the display engine to copy the cache back and
|
||||
forth many times). */
|
||||
if (maxlevel == base_level
|
||||
&& (l2r_seen || r2l_seen) /* N0d */
|
||||
&& ((base_level == 0 && !r2l_seen)
|
||||
|| (base_level == 1 && !l2r_seen)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user