]> git.eshelyaron.com Git - emacs.git/commit
Improve detection of suspicious reordering in source code
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Nov 2021 10:33:26 +0000 (12:33 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Nov 2021 10:33:26 +0000 (12:33 +0200)
commit26089c8c446de4851143a42b2005844d152e8e99
tree3afc9ca7fb59dbe8a7da8fcb130948d19edc82ac
parent5b963e481546157cd7ebf02441a2002374169d86
Improve detection of suspicious reordering in source code

* src/bidi.c (bidi_find_first_overridden): Detect suspiciously
reordered EN types as well.

* test/src/xdisp-tests.el
(xdisp-tests--find-directional-overrides-case-1): Rename from
'xdisp-tests--find-directional-overrides'.
(xdisp-tests--find-directional-overrides-case-2): New test.
src/bidi.c
test/src/xdisp-tests.el