|
From: | Alan Ristow |
Subject: | [AUCTeX] Customize TeX-command-list via .emacs? |
Date: | Fri, 09 Mar 2007 17:02:58 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.0 |
Hi all,I want to change the command line that is executed when I run BibTeX via AUCTeX. I prefer to issue a simple command in my .emacs file and leave the rest of the commands in TeX-command-list alone, but I can't figure out how to do it. The closest I've come is this:
(eval-after-load "tex" '(setq TeX-command-list (append TeX-command-list (list (list "BibTeX" "bibtex --min-crossrefs=100 %s" 'TeX-run-command nil t :help "Run BibTeX with min-crossrefs=100")Obviously, this simply tacks a second command called BibTeX onto the end of TeX-command-list, which is not what I want -- I want to replace the existing command. Is there any way I can do this short of explicitly writing out the entire TeX-command-list in my .emacs file (as customize-variable will do)?
Thanks, Alan
[Prev in Thread] | Current Thread | [Next in Thread] |