|
From: | Ralf Angeli |
Subject: | Re: [AUCTeX] Re: Customize TeX-command-list via .emacs? |
Date: | Sat, 10 Mar 2007 07:48:49 +0100 |
User-agent: | Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
* Alan Ristow (2007-03-09) writes: > David Kastrup wrote: >> >> ... (setcdr (assoc "BibTeX" TeX-command-list) >> '("bibtex --min-crossrefs=100 %s" >> 'TeX-run-command nil t :help "Run BibTeXt with ...")) >> > > Thanks for the quick response! However, when I add it to my .emacs file > I get the following error upon starting Emacs: > > Symbol's value as variable is void: TeX-command-list > > This occurs whether I place the command inside or outside > eval-after-load "tex". You have to quote the command if you use it in `eval-after-load': (eval-after-load "tex" '(setcdr (assoc "BibTeX" TeX-command-list) '("bibtex --min-crossrefs=100 %s" 'TeX-run-command nil t :help "Run BibTeXt with ..."))) -- Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |