This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  93d50ea9920767901221f54ad566c6b3e9a1f462 (commit)
      from  1f116b8499a0bd6081a473fb53dbf49ba49514cb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 93d50ea9920767901221f54ad566c6b3e9a1f462
Author: Mosè Giordano <m...@gnu.org>
Date:   Tue Oct 13 21:44:19 2015 +0200

    Do not disable PDF when using pstricks with XeTeX.
    
    * style/pstricks.el ("pstricks"): Do not disable PDF mode if XeTeX
    engine is used.  Suggested by Mandar Mitra.

diff --git a/ChangeLog b/ChangeLog
index 2c768b9..cd4d925 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-13  Mosè Giordano  <m...@gnu.org>
+
+       * style/pstricks.el ("pstricks"): Do not disable PDF mode if XeTeX
+       engine is used.  Suggested by Mandar Mitra.
+
 2015-10-09  Tassilo Horn  <t...@gnu.org>
 
        * latex.el (LaTeX-fill-move-to-break-point): Fill $...$ like
diff --git a/style/pstricks.el b/style/pstricks.el
index 02b2c30..5b6e828 100644
--- a/style/pstricks.el
+++ b/style/pstricks.el
@@ -776,7 +776,8 @@ comma separated list. Point has to be within the sexp to 
modify."
 (TeX-add-style-hook
  "pstricks"
  (lambda ()
-   (unless (member "pst-pdf" TeX-active-styles)
+   (unless (or (member "pst-pdf" TeX-active-styles)
+              (eq TeX-engine 'xetex))
      (TeX-PDF-mode-off))
    (mapc 'TeX-auto-add-regexp LaTeX-auto-pstricks-regexp-list)
    (LaTeX-add-environments

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    5 +++++
 style/pstricks.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to