One key Emacs LaTeX compilation?

emacs, latex

Solution

C-c is a general prefix key which means it is hard to 'shorten' it.

You could alternatively bind you favorite function to one of the function keys. Hitting C-h k (for help on key) followed by C-c C-c reveals that the function bound to the key is TeX-command-master. So you could try something like

(global-set-key "^X9" 'TeX-command-master)

to bind this function to F9.

Problem

Are there any Emacs gurus out there who can tell me how to bind C-B to Auctex's LaTeX compilation? This is, instead of C-c C-c RET. I'm on Ubuntu.

Original source