4

Q: how can I get TeX-command-master (C-c C-c) to default to LaTeX rather than View?

TeX-command-master dispatches to various commands, such as LaTeX, BibTeX, View, etc., almost none of which I use besides LaTeX and BibTeX. In particular, I almost never use View via TeX-command-master (using TeX-view via C-c C-v instead), and it's annoying that TeX-command-master defaults to View after running LaTeX.

Instead, I'd like TeX-command-master never to default to View, but rather to LaTeX so that I can recompile without breaking my flow.

How would one change the default? It seems rather extreme to edit out the View option from TeX-command-list, and I'm not sure where else to look.

Dan
  • 32,584
  • 6
  • 98
  • 168

1 Answers1

5

The variable controlling the default operation to do when AUCTeX assumes the output file is ready is TeX-command-Show. The default value is of course "View", but in your case you want to set it to "LaTeX".

giordano
  • 3,245
  • 13
  • 19