]> git.eshelyaron.com Git - emacs.git/commitdiff
Reset bidi-paragraph-direction on article rendering
authorTim Landscheidt <tim@tim-landscheidt.de>
Sat, 30 Sep 2017 13:39:36 +0000 (16:39 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Sep 2017 13:39:36 +0000 (16:39 +0300)
* lisp/gnus/gnus-art.el (gnus-request-article-this-buffer): Reset
bidi-paragraph-direction on article rendering.  (Bug#28454)

Copyright-paperwork-exempt: yes

lisp/gnus/gnus-art.el

index 986bb473375c8bde6c47f31be2dd0e2c8fd2f0c7..c130dc1b6c615dc949ca0a93befc2cc0a90ede46 100644 (file)
@@ -6984,6 +6984,7 @@ If given a prefix, show the hidden text instead."
        (save-excursion
          (erase-buffer)
          (gnus-kill-all-overlays)
+         (setq bidi-paragraph-direction nil)
          (setq group (or group gnus-newsgroup-name))
 
          ;; Using `gnus-request-article' directly will insert the article into
@@ -7091,6 +7092,7 @@ If given a prefix, show the hidden text instead."
              (while (not result)
                (erase-buffer)
                (gnus-kill-all-overlays)
+               (setq bidi-paragraph-direction nil)
                (let ((gnus-newsgroup-name group))
                  (gnus-check-group-server))
                (cond