all repos — nixfiles @ 5d30f53a40a6addc285c9d38e5bf7706d389c03b

System and user configuration, managed by nix and home-manager

Emacs: optimise text flowing

Reduce bidirectional editing support, as I cannot read any non-LTR scripts
Alan Pearce alan@alanpearce.eu
Thu, 01 Oct 2020 18:09:01 +0200
commit

5d30f53a40a6addc285c9d38e5bf7706d389c03b

parent

631df6d775a26c6d2190ef4478e248c0d4b7a9f5

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -93,6 +93,12 @@ (add-to-list 'default-frame-alist '(width . 100))
 (add-to-list 'default-frame-alist '(height . 40))
 
+;;; Encoding
+
+(setq bidi-paragraph-direction 'left-to-right)
+(when (version<= "27.1" emacs-version)
+  (setq bidi-inhibit-bpa t))
+
 ;;; Dates & Times
 
 (defvar calendar-week-start-day 1)