[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c428aaf 1/3: * lisp/so-long.el (so-long-variable-ov
From: |
Phil |
Subject: |
[Emacs-diffs] master c428aaf 1/3: * lisp/so-long.el (so-long-variable-overrides): Use correct bidi option |
Date: |
Sat, 13 Jul 2019 08:00:11 -0400 (EDT) |
branch: master
commit c428aaf0937a2c1939217e71fa5302d1d6f192f4
Author: Phil Sainty <address@hidden>
Commit: Phil Sainty <address@hidden>
* 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 e5220fc..0f86bc7 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)