aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2015-12-28 18:11:56 +0100
committerLars Ingebrigtsen2015-12-28 18:14:05 +0100
commitb406665df12664a3e7048f93f192a488a14058f2 (patch)
tree4e18da3110ede8d96e6f22b8041bc63af8b6b68e
parent326ffcce5fbbb0ca368cfa08a33101dbbcaa2ace (diff)
downloademacs-b406665df12664a3e7048f93f192a488a14058f2.tar.gz
emacs-b406665df12664a3e7048f93f192a488a14058f2.zip
Always reset the bidi direction
* eww.el (eww-display-html): Always reset the bidi direction to `left-to-right' (bug#22257).
-rw-r--r--lisp/net/eww.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 5755a942ebe..d4555772e9a 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."
401 (source (and (null document) 401 (source (and (null document)
402 (buffer-substring (point) (point-max))))) 402 (buffer-substring (point) (point-max)))))
403 (with-current-buffer buffer 403 (with-current-buffer buffer
404 (setq bidi-paragraph-direction 'left-to-right)
404 (plist-put eww-data :source source) 405 (plist-put eww-data :source source)
405 (plist-put eww-data :dom document) 406 (plist-put eww-data :dom document)
406 (let ((inhibit-read-only t) 407 (let ((inhibit-read-only t)