Reset bidi-paragraph-direction on article rendering

* lisp/gnus/gnus-art.el (gnus-request-article-this-buffer): Reset
bidi-paragraph-direction on article rendering.  (Bug#28454)

Copyright-paperwork-exempt: yes
This commit is contained in:
Tim Landscheidt 2017-09-30 16:39:36 +03:00 committed by Eli Zaretskii
parent a4f7518817
commit 289fe6c0d1

View file

@ -6984,6 +6984,7 @@ If given a prefix, show the hidden text instead."
(save-excursion (save-excursion
(erase-buffer) (erase-buffer)
(gnus-kill-all-overlays) (gnus-kill-all-overlays)
(setq bidi-paragraph-direction nil)
(setq group (or group gnus-newsgroup-name)) (setq group (or group gnus-newsgroup-name))
;; Using `gnus-request-article' directly will insert the article into ;; 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) (while (not result)
(erase-buffer) (erase-buffer)
(gnus-kill-all-overlays) (gnus-kill-all-overlays)
(setq bidi-paragraph-direction nil)
(let ((gnus-newsgroup-name group)) (let ((gnus-newsgroup-name group))
(gnus-check-group-server)) (gnus-check-group-server))
(cond (cond