auctex-commit
[Top][All Lists]
Advanced

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

[AUCTeX-commit] Changes to auctex/context.el,v


From: Ralf Angeli
Subject: [AUCTeX-commit] Changes to auctex/context.el,v
Date: Sun, 26 Nov 2006 19:21:23 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    06/11/26 19:21:23

Index: context.el
===================================================================
RCS file: /cvsroot/auctex/auctex/context.el,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- context.el  5 Aug 2006 04:05:25 -0000       1.58
+++ context.el  26 Nov 2006 19:21:22 -0000      1.59
@@ -1445,6 +1445,9 @@
 
 ;;; Option expander
 
+(defvar ConTeXt-texexec-option-nonstop "--nonstop "
+  "Command line option for texexec to use nonstopmode.")
+
 (defun ConTeXt-expand-options ()
   "Expand options for texexec command."
   (concat
@@ -1456,15 +1459,10 @@
          (format "--tex=%s " ConTeXt-engine)))
    (unless (eq ConTeXt-current-interface "en")
      (format "--interface=%s " ConTeXt-current-interface))
-   (if TeX-source-specials-mode
-       (format
-       "--passon=\"%s\" "
-       (concat
-        TeX-source-specials-tex-flags
-        (unless TeX-interactive-mode
-          " -interaction=nonstopmode")))
+   (when TeX-source-specials-mode
+     (format "--passon=\"%s\" " TeX-source-specials-tex-flags))
      (unless TeX-interactive-mode
-       "--passon=\"-interaction=nonstopmode\" "))))
+     ConTeXt-texexec-option-nonstop)))
 
 ;;; Mode
 




reply via email to

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