emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] elpa e19f8bd 37/51: Do not check TeX engine with ifluatex package


From: Tassilo Horn
Subject: [elpa] elpa e19f8bd 37/51: Do not check TeX engine with ifluatex package
Date: Sun, 22 May 2016 07:22:50 +0000 (UTC)

branch: elpa
commit e19f8bd008cf1ef8c48e64963b0300c72c403ff7
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Do not check TeX engine with ifluatex package
    
    * style/ifluatex.el ("ifluatex"): Set `TeX-check-engine-list' to nil so
      that the engine is not checked when this package is loaded.
---
 style/ifluatex.el |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/style/ifluatex.el b/style/ifluatex.el
index 48e1bd6..cddd9fd 100644
--- a/style/ifluatex.el
+++ b/style/ifluatex.el
@@ -1,6 +1,6 @@
 ;;; ifluatex.el --- AUCTeX style for `ifluatex.sty' version 1.3.
 
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2016 Free Software Foundation, Inc.
 
 ;; Author: Davide G. M. Salvetti <address@hidden>
 ;; Maintainer: address@hidden
@@ -43,11 +43,15 @@
        (TeX-arg-literal "\n\\else%\n\\fi%"))
      '("luatexversion" 0)
      '("luatexrevision" 0))
-
     (TeX-declare-expert-macros
      "ifluatex"
      "ifluatex" "luatexversion" "luatexrevision")
 
+    ;; This package is used to make it possible to compile a document with both
+    ;; LuaTeX and base TeX engines.  By setting `TeX-check-engine-list' to nil
+    ;; we ignore engine restrictions posed by other packages.
+    (setq TeX-check-engine-list nil)
+
     (when (and (featurep 'font-latex)
               (eq TeX-install-font-lock 'font-latex-setup))
       (font-latex-add-keywords '(("luatexversion")



reply via email to

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