]> git.eshelyaron.com Git - emacs.git/commitdiff
(eww-setup-buffer): Restore left-to-right defaults
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 27 Dec 2015 19:35:05 +0000 (20:35 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 27 Dec 2015 19:35:23 +0000 (20:35 +0100)
* eww.el (eww-setup-buffer): Restore left-to-right defaults.

Backport:

(cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)

lisp/net/eww.el

index 033529d06167ff19de203537db6424b5fce43af0..5755a942ebe1d9502bcdb62486f638238c261de6 100644 (file)
@@ -561,6 +561,7 @@ Currently this means either text/html or application/xhtml+xml."
   (let ((inhibit-read-only t))
     (remove-overlays)
     (erase-buffer))
+  (setq bidi-paragraph-direction 'left-to-right)
   (unless (eq major-mode 'eww-mode)
     (eww-mode)))