gnus-sum.el (gnus-summary-mode): Force paragraph direction to be left-to-right.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 26 Jan 2012 10:37:55 +0000 (10:37 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 26 Jan 2012 10:37:55 +0000 (10:37 +0000)
lisp/ChangeLog
lisp/gnus-sum.el

index e1c6289..f8b5fc0 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-26  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-sum.el (gnus-summary-mode): Force paragraph direction to be
+       left-to-right.
+
 2012-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (nnir-search-thread): Autoload to avoid a compilation
index 9b7098c..26bd5b0 100644 (file)
@@ -3060,6 +3060,8 @@ When FORCE, rebuild the tool bar."
 (defvar bookmark-make-record-function)
 \f
 
+(defvar bidi-paragraph-direction)
+
 (defun gnus-summary-mode (&optional group)
   "Major mode for reading articles.
 
@@ -3098,6 +3100,8 @@ The following commands are available:
   (setq buffer-read-only t             ;Disable modification
        show-trailing-whitespace nil)
   (setq truncate-lines t)
+  ;; Force paragraph direction to be left-to-right.
+  (setq bidi-paragraph-direction 'left-to-right)
   (add-to-invisibility-spec '(gnus-sum . t))
   (gnus-summary-set-display-table)
   (gnus-set-default-directory)