When editing multiple files, AucTeX keeps track of the master file by appending the following to each file:
%%% Local Variables: %%% mode: latex %%% TeX-master: "../document" %%% End:
I'm editing a document with multiple colleagues and I don't want to add this to their files when editing them.
Is there a way to set an AucTeX variable pointing to the path of the master file, and whenever I hit C-c C-c, it will look for that file?
One option is to hit M-: and type
(setq-default TeX-master "../document"). Is there a better way than that?