auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5592f7d3cd5c3db24253e


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5592f7d3cd5c3db24253e1cc22c939e34b0e04ba
Date: Wed, 17 Apr 2019 02:12:28 -0400 (EDT)

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  5592f7d3cd5c3db24253e1cc22c939e34b0e04ba (commit)
      from  ca0437d03af562c548c566f0237de48244f4d922 (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 5592f7d3cd5c3db24253e1cc22c939e34b0e04ba
Author: Ikumi Keita <address@hidden>
Date:   Tue Apr 2 16:05:22 2019 +0900

    Reset `TeX-PDF-from-DVI' if xetex engine is in use
    
    * tex.el (TeX-engine-set): Reset `TeX-PDF-from-DVI' when the new
    engine is `xetex'.  Fix bug#34593.

diff --git a/tex.el b/tex.el
index 6cf2e48..f469a6c 100644
--- a/tex.el
+++ b/tex.el
@@ -1579,7 +1579,9 @@ For available TYPEs, see variable `TeX-engine'."
     (setq type (intern type)))
   (setq TeX-engine type)
   ;; Automatically enable or disable TeX PDF mode as a convenience
-  (cond ((eq type 'xetex) (TeX-PDF-mode 1))
+  (cond ((eq type 'xetex)
+        (TeX-PDF-mode 1)
+        (setq TeX-PDF-from-DVI nil))
        ((eq type 'omega) (TeX-PDF-mode 0))))
 
 (define-minor-mode TeX-Omega-mode

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

Summary of changes:
 tex.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]