[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 98b8d44: Fix bidi-paragraph-direction in Rmail vi
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 98b8d44: Fix bidi-paragraph-direction in Rmail view buffer |
Date: |
Sat, 05 Mar 2016 12:50:42 +0000 |
branch: emacs-25
commit 98b8d4489241f79c200a8b68330ba4b2dbd16cdb
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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
display.
---
lisp/mail/rmail.el | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 2e441ec..70b0f23 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -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
rmail-show-mime-function
(re-search-forward "mime-version: 1.0" nil t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 98b8d44: Fix bidi-paragraph-direction in Rmail view buffer,
Eli Zaretskii <=