Mercurial > emacs
changeset 23186:a49b7294e019
(tex-start-options-string): New option.
(tex-start-tex): Use that variable.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 04 Sep 1998 20:39:26 +0000 |
parents | 945fed18ddb8 |
children | 205f3fab9564 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Fri Sep 04 20:38:16 1998 +0000 +++ b/lisp/textmodes/tex-mode.el Fri Sep 04 20:39:26 1998 +0000 @@ -95,6 +95,13 @@ :type 'string :group 'tex-run) +(defcustom tex-start-options-string " \\\\nonstopmode\\\\input" + "*TeX options to use when running TeX. +These precede the input file name." + :type 'string + :group 'tex-run + :version "20.4") + ;;;###autoload (defcustom latex-run-command "latex" "*Command used to run LaTeX subjob. @@ -1065,7 +1072,7 @@ (defun tex-start-tex (command file) "Start a TeX run, using COMMAND on FILE." - (let* ((cmd (concat command " \\\\nonstopmode\\\\input")) + (let* ((cmd (concat command tex-start-options-string)) (star (string-match "\\*" cmd)) (compile-command (if star (concat (substring cmd 0 star)