* Sebastian Schubert (2006-06-20) writes:

> Ralf Angeli wrote:
>
>> * Sebastian Schubert (2006-06-17) writes:
>> 
>>> Is it possible (ok this is emacs, so
>>> how is it possible) to set the Command C-c C-c all to eg F6?
>> 
>> (add-hook 'LaTeX-mode-hook
>> (lambda ()
>> (local-set-key (kbd "<f6>") 'TeX-command-master)))
[...]
> Sorry, I was not clear enough. I would like to bind the execution of the new
> latexmk command ("C-c C-c all" for me) to F6. Do I have to write another
> function?

(add-hook 'LaTeX-mode-hook
          (lambda ()
            (local-set-key (kbd "<f6>") (lambda ()
                                          (interactive)
                                          (TeX-command-menu "all")))))

-- 
Ralf


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

Reply via email to