]> git.eshelyaron.com Git - emacs.git/commit
Allow disabling the BPA part of bidi reordering
authorEli Zaretskii <eliz@gnu.org>
Thu, 28 Nov 2019 15:00:33 +0000 (17:00 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 28 Nov 2019 15:00:33 +0000 (17:00 +0200)
commit5629af9cbe91feee8fb4d896224ed62e455f951d
treec3d4217e2d54f4f8b3fb354affbb61b96f624e09
parentb05aa8d742d80aeb692c54289e8ccb074a68bf51
Allow disabling the BPA part of bidi reordering

* src/xdisp.c (syms_of_xdisp): New variable 'bidi-inhibit-bpa'.
* src/bidi.c (bidi_paired_bracket_type): If 'bidi-inhibit-bpa'
is non-nil, return BIDI_BRACKET_NONE for all characters.

* lisp/frame.el: Add 'bidi-inhibit-bpa' to the list of
variables whose changes require redisplay.  (Bug#38407)
lisp/frame.el
src/bidi.c
src/xdisp.c