From dc489d24e74db556a1e6f6fb57229ee81d14faf2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 4 Aug 2020 14:58:13 -0400 Subject: [PATCH] bidi-inhibit-bpa = t Speeds up redisplay a little, but possible at the expense of folks who use Emacs for RTL languages. --- core/core.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/core.el b/core/core.el index 7c65fddce..9fcaff288 100644 --- a/core/core.el +++ b/core/core.el @@ -279,6 +279,11 @@ config.el instead." (setq-default bidi-display-reordering 'left-to-right bidi-paragraph-direction 'left-to-right) +;; Disabling the BPA makes redisplay faster, but might produce incorrect display +;; reordering of bidirectional text with embedded parentheses and other bracket +;; characters whose 'paired-bracket' Unicode property is non-nil. +(setq bidi-inhibit-bpa t) ; Emacs 27 only + ;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions ;; in non-focused windows. (setq-default cursor-in-non-selected-windows nil)