[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 92e2d19fe7: One more fix of the BPA implementation
From: |
Eli Zaretskii |
Subject: |
emacs-28 92e2d19fe7: One more fix of the BPA implementation |
Date: |
Thu, 3 Mar 2022 08:54:02 -0500 (EST) |
branch: emacs-28
commit 92e2d19fe787ce73db15d1549880b54743c0d929
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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)
---
src/bidi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bidi.c b/src/bidi.c
index 5f47d9e9a7..a548960048 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -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)))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 92e2d19fe7: One more fix of the BPA implementation,
Eli Zaretskii <=