[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Suppress View option for C-C C-C
From: |
Mandar Mitra |
Subject: |
Re: [AUCTeX] Suppress View option for C-C C-C |
Date: |
Tue, 26 Sep 2017 18:13:28 +0530 |
Sivaram Neelakantan wrote (Tue, Sep 26, 2017 at 08:00:34AM +0530):
>
> How do I have C-C C-C bound only to LateX all the time instead of
> View(which turns up after successful compilation)? I use an external
> viewer that auto refreshes on compilation, so I really don't need view
> from Emacs. Ditto for region/buffer compile
Would something like the following work for you?
(define-key LaTeX-mode-map "\C-c\C-c"
(lambda ()
(interactive)
(TeX-command "LaTeX" 'TeX-master-file)))
If it does, you could roll your own for the region / buffer commands.