Ralf Angeli <[EMAIL PROTECTED]> writes:

> * Patrick Drechsler (2007-06-16) writes:
[...]
>> I was wondering if it's possible to pass the "TeX-master"
>> information to Emacs' `M-x compile' command.
[...]
>
> If all you want to do is calling make in the directory of the master
> file, the following code should work:
>
> (eval-after-load "tex"
>   '(add-to-list 'TeX-command-list '("Make" "make" TeX-run-command nil t)))
>
> This adds a "Make" command to `TeX-command-list' which you can choose
> after typing `C-c C-c'.  If it should be the default for the files in
> this project, add a line like
> %%% TeX-command-default: "Make"
> to each relevant local variables stanza.

Thank you very much Ralf, this is exactly what I was after!

Cheers,

Patrick 
-- 
"What happens if a big asteroid hits Earth ? Judging from
 realistic simulations involving a sledge hammer and a common
 laboratory frog, we can assume it will be pretty bad."
                                                -- Dave Barry


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to