From: Lars Ingebrigtsen Date: Mon, 29 Feb 2016 23:48:36 +0000 (+1100) Subject: Respect X-Git-Tag: emacs-26.0.90~2419 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc819ea94ef1f466e422ed290e1fa01d5ec0302b;p=emacs.git Respect * lisp/net/shr.el (shr-tag-html): Respect the "auto" directional HTML setting. --- diff --git a/lisp/net/shr.el b/lisp/net/shr.el index fc6fca7060e..ab04b9a065a 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -1178,7 +1178,9 @@ ones, in case fg and bg are nil." ((equal dir "ltr") (setq bidi-paragraph-direction 'left-to-right)) ((equal dir "rtl") - (setq bidi-paragraph-direction 'right-to-left)))) + (setq bidi-paragraph-direction 'right-to-left)) + ((equal dir "auto") + (setq bidi-paragraph-direction nil)))) (shr-generic dom)) (defun shr-tag-body (dom)