summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-10-01 18:09:01 +0200
committerAlan Pearce2020-10-01 18:09:01 +0200
commit5d30f53a40a6addc285c9d38e5bf7706d389c03b (patch)
treedcf8675042a63b2d0590b167ef2d93f84aa41ab0
parent631df6d775a26c6d2190ef4478e248c0d4b7a9f5 (diff)
downloadnixfiles-5d30f53a40a6addc285c9d38e5bf7706d389c03b.tar.lz
nixfiles-5d30f53a40a6addc285c9d38e5bf7706d389c03b.tar.zst
nixfiles-5d30f53a40a6addc285c9d38e5bf7706d389c03b.zip
Emacs: optimise text flowing
Reduce bidirectional editing support, as I cannot read any non-LTR scripts
-rw-r--r--user/emacs/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 632177c4..b05e2a2e 100644
--- a/user/emacs/init.el
+++ b/user/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)