From: Lars Ingebrigtsen Date: Mon, 29 Feb 2016 23:33:05 +0000 (+1100) Subject: Default bidi paragraph direction to nil X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/f71dbb30eeb4b9885ae1c9c580f65c956008d0cf Default bidi paragraph direction to nil * lisp/net/eww.el (eww-display-html): Default bidi rendering to nil, so that possibly more Arabic web pages render correctly (bug#22786). (eww-setup-buffer): Ditto. --- diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 91a1775524..3c3736ac37 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -418,7 +418,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) + (setq bidi-paragraph-direction nil) (plist-put eww-data :source source) (plist-put eww-data :dom document) (let ((inhibit-read-only t) @@ -580,7 +580,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) + (setq bidi-paragraph-direction nil) (unless (eq major-mode 'eww-mode) (eww-mode)))