aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-03-01 10:33:05 +1100
committerLars Ingebrigtsen2016-03-01 10:33:05 +1100
commitf71dbb30eeb4b9885ae1c9c580f65c956008d0cf (patch)
tree4c8a3ecce9b97d58bcacfd0a193e91946b992b3d
parentb08b2e9e1232de51c0aa8788d3449d3a111c705b (diff)
downloademacs-f71dbb30eeb4b9885ae1c9c580f65c956008d0cf.tar.gz
emacs-f71dbb30eeb4b9885ae1c9c580f65c956008d0cf.zip
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.
-rw-r--r--lisp/net/eww.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 91a17755244..3c3736ac376 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."
418 (source (and (null document) 418 (source (and (null document)
419 (buffer-substring (point) (point-max))))) 419 (buffer-substring (point) (point-max)))))
420 (with-current-buffer buffer 420 (with-current-buffer buffer
421 (setq bidi-paragraph-direction 'left-to-right) 421 (setq bidi-paragraph-direction nil)
422 (plist-put eww-data :source source) 422 (plist-put eww-data :source source)
423 (plist-put eww-data :dom document) 423 (plist-put eww-data :dom document)
424 (let ((inhibit-read-only t) 424 (let ((inhibit-read-only t)
@@ -580,7 +580,7 @@ Currently this means either text/html or application/xhtml+xml."
580 (let ((inhibit-read-only t)) 580 (let ((inhibit-read-only t))
581 (remove-overlays) 581 (remove-overlays)
582 (erase-buffer)) 582 (erase-buffer))
583 (setq bidi-paragraph-direction 'left-to-right) 583 (setq bidi-paragraph-direction nil)
584 (unless (eq major-mode 'eww-mode) 584 (unless (eq major-mode 'eww-mode)
585 (eww-mode))) 585 (eww-mode)))
586 586