[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master abfe07a: Fix Eshell display when RTL characters are
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master abfe07a: Fix Eshell display when RTL characters are involved |
Date: |
Sat, 4 Jun 2016 15:28:08 +0000 (UTC) |
branch: master
commit abfe07ad61d6f95c3dc0b1aee179a397f1d0f9fc
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix Eshell display when RTL characters are involved
* lisp/eshell/esh-mode.el (eshell-mode): Set
'bidi-paragraph-direction' to 'left-to-right'. (Bug#23652)
---
lisp/eshell/esh-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 074b94c..104841d 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -380,6 +380,11 @@ and the hook `eshell-exit-hook'."
(make-local-variable 'eshell-modules-list)
(setq eshell-modules-list modules-list))
+ ;; This is to avoid making the paragraph base direction
+ ;; right-to-left if the first word just happens to start with a
+ ;; strong R2L character.
+ (setq bidi-paragraph-direction 'left-to-right)
+
;; load extension modules into memory. This will cause any global
;; variables they define to be visible, since some of the core
;; modules sometimes take advantage of their functionality if used.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master abfe07a: Fix Eshell display when RTL characters are involved,
Eli Zaretskii <=