auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Auctex - how to stop prompting for default command


From: linuxfever
Subject: Re: [AUCTeX] Auctex - how to stop prompting for default command
Date: Wed, 17 Aug 2011 06:05:31 -0700 (PDT)

Thanks Ivan! That works!


Ivan Andrus wrote:
> 
> On Aug 16, 2011, at 4:37 PM, linuxfever wrote:
> If you set TeX-command-force to "" that does what I think you want, namely
> never prompt--always do the default.  So adding (setq TeX-command-force
> "") in your .emacs should do the trick.  You can still edit the command
> with C-u C-c C-c, but you won't be able to choose to run BibTeX instead of
> LaTeX for example.  You could bind another key to do that if you wish:
> 
> (define-key LaTeX-mode-map "\C-c\C-a"   ; 'a' for ask, change to anything
> you want
>   (lambda (arg) (interactive "P")
>     (let ((TeX-command-force nil))
>       (TeX-command-master arg))))
> 
> -Ivan
> _______________________________________________
> auctex mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/auctex
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Auctex---how-to-stop-prompting-for-default-command-tp32272347p32279500.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]