Subject: 24.5; tex-file ignores latex-run-command file local variable

From: Paul Rankin <[email-masked]>
Date: Sat, 23 Jul 2016 18:12:55 +1000

It appears that `tex-file' ignores `LaTeX-run-command' when set as a file local variable.

To reproduce:

1. $ emacs -Q
2. open Input.tex file with:

    % Local Variables:
    % latex-run-command: "xelatex"
    % End:

3. apply local variables
4. M-x tex-file

Expected results:

`tex-file' should run shell command

    $ xelatex \\nonstopmode\\input Input.tex

Actual results:

`tex-file' runs shell command

    $ latex \\nonstopmode\\input Input.tex

Configuration:

GNU Emacs 24.5.1 (x86_64-apple-darwin15.6.0, NS apple-appkit-1404.47) of 2016-07-22

OS X 10.11.6 (15G31)

MacBook Pro (Retina, 15-inch, Mid 2014)
2.2 GHz Intel Core i7
16 GB 1600 MHz DDR3
Intel Iris Pro 1536 MB

--
Paul W. Rankin
www.paulwrankin.com