emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 b406665: Always reset the bidi direction


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 b406665: Always reset the bidi direction
Date: Mon, 28 Dec 2015 17:14:09 +0000

branch: emacs-25
commit b406665df12664a3e7048f93f192a488a14058f2
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Always reset the bidi direction
    
    * eww.el (eww-display-html): Always reset the bidi direction
    to `left-to-right' (bug#22257).
---
 lisp/net/eww.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 5755a94..d455577 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -401,6 +401,7 @@ Currently this means either text/html or 
application/xhtml+xml."
        (source (and (null document)
                     (buffer-substring (point) (point-max)))))
     (with-current-buffer buffer
+      (setq bidi-paragraph-direction 'left-to-right)
       (plist-put eww-data :source source)
       (plist-put eww-data :dom document)
       (let ((inhibit-read-only t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]