[email protected] writes:

> Hi Jonas,
>
> try with
>
> (define-key TeX-mode-map [f8] [?\C-c ?\C-c ?l ?a ?t ?e ?x return])
>
> you can add it to the LaTeX-mode-hook. But probably there's a more elegant 
> solution.
>

I think the more elegant solution would be to use elisp:

(define-key TeX-mode-map [f8]
            (lambda () (interactive) (TeX-command "LaTeX" 'TeX-master-file)))
-- 
Piet van Oostrum <[email protected]>
WWW: http://piet.vanoostrum.org/
PGP key: [8DAE142BE17999C4]

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

Reply via email to