From c428aaf0937a2c1939217e71fa5302d1d6f192f4 Mon Sep 17 00:00:00 2001 From: Phil Sainty Date: Sat, 13 Jul 2019 23:20:40 +1200 Subject: [PATCH] * lisp/so-long.el (so-long-variable-overrides): Use correct bidi option Set 'bidi-paragraph-direction' to 'left-to-right', rather than setting 'bidi-display-reordering' to nil, as the latter is only intended for use when debugging the display code. --- lisp/so-long.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/so-long.el b/lisp/so-long.el index e5220fc5024..0f86bc70813 100644 --- a/lisp/so-long.el +++ b/lisp/so-long.el @@ -726,7 +726,7 @@ they are in Emacs core, GNU ELPA, or elsewhere." :group 'so-long) (defcustom so-long-variable-overrides - '((bidi-display-reordering . nil) + '((bidi-paragraph-direction . left-to-right) (buffer-read-only . t) (global-hl-line-mode . nil) (line-move-visual . t) @@ -742,7 +742,9 @@ If `so-long-revert' is subsequently invoked, then the variables are restored to their original states." :type '(alist :key-type (variable :tag "Variable") :value-type (sexp :tag "Value")) - :options '((bidi-display-reordering boolean) + :options '((bidi-paragraph-direction (choice (const left-to-right) + (const right-to-left) + (const nil))) (buffer-read-only boolean) (global-hl-line-mode boolean) (line-move-visual boolean) -- 2.39.2