]> git.eshelyaron.com Git - emacs.git/commit
Improve detection of suspicious uses of bidi controls
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Jan 2022 09:58:05 +0000 (11:58 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jan 2022 09:58:05 +0000 (11:58 +0200)
commit682b6df6bfc7af98a28b54bd925cd33dead2c25d
tree3cae6a2583336037b7aea8091f740ebf342b73a0
parentebe334cdc234de2897263aed4c05ac7088c11857
Improve detection of suspicious uses of bidi controls

* lisp/international/textsec.el
(textsec-bidi-controls-suspicious-p): New function.
(textsec-name-suspicious-p): Use it.

* test/lisp/international/textsec-tests.el (test-suspicious-name):
Enable the test that was previously failing with
'bidi-find-overridden-directionality'.
lisp/international/textsec.el
test/lisp/international/textsec-tests.el