Commit 98b8d448 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix bidi-paragraph-direction in Rmail view buffer

* lisp/mail/rmail.el (rmail-show-message-1): Reset
bidi-paragraph-direction to nil before formatting the message for
parent dc9d837d
......@@ -2797,7 +2797,12 @@ The current mail message becomes the message displayed."
;; rmail-header-style based on the binding in effect when
;; this function is called; `rmail-toggle-headers' can
;; inspect this value to determine how to toggle.
(set (make-local-variable 'rmail-header-style) header-style))
(set (make-local-variable 'rmail-header-style) header-style)
;; In case viewing the previous message sets the paragraph
;; direction non-nil, we reset it here to allow independent
;; dynamic determination of paragraph direction in every
;; message.
(setq bidi-paragraph-direction nil))
(if (and rmail-enable-mime
(re-search-forward "mime-version: 1.0" nil t))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment