[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Avoid the confirmation step for the default compiler when r
From: |
Oleh |
Subject: |
Re: [AUCTeX] Avoid the confirmation step for the default compiler when running C-c C-c? |
Date: |
Wed, 11 Dec 2013 19:52:33 +0100 |
I'm using this code:
(defun pdflatex-quiet ()
(interactive)
(save-buffer)
(TeX-command "LaTeX" 'TeX-master-file -1))
(add-hook
'LaTeX-mode-hook
(lambda()
(define-key LaTeX-mode-map [f5] 'pdflatex-quiet)))
Oleh
On Wed, Dec 11, 2013 at 4:14 PM, Denis Bitouzé <address@hidden> wrote:
> Hi,
>
> for compiling a .tex file, C-c C-c needs:
>
> 1. to save the file: C-x C-s (beforehand) or confirm by y (afterwards),
> 2. hit the <Enter> key for confirming the default compiler.
>
> AFAIK, the 1st step can be avoid with:
>
> (setq TeX-save-query nil)
>
> Is there a way to avoid the 2nd step, in order to be able to run the
> compilation just with C-c C-c?
>
> Thanks in anticipation.
> --
> Denis
>
> _______________________________________________
> auctex mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/auctex