[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Biber: void-variable TeX-command-list error
From: |
David Kastrup |
Subject: |
Re: Biber: void-variable TeX-command-list error |
Date: |
Wed, 28 Mar 2012 19:21:08 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
David Kastrup <dak@gnu.org> writes:
> Haines Brown <haines@HistoricalMaterialism.info> writes:
>
>> I'm trying to get biber working with TeXLive2011, with Debian Squeeze. I
>> pasted the material in the biber manual into my ~/.elisp file, but
>> encountered this error when I reloaded .emacs:
>>
>> Debugger entered--Lisp error: (void-variable TeX-command-list)
>> add-to-list(TeX-command-list ("Biber" "biber %s" TeX-run-Biber nil t
>> :help "Run Biber"))
>> eval-buffer(#<buffer *load*<2>> nil "/home/haines/.emacs" nil t) ;
>> Reading at buffer position 18387
>> load-with-code-conversion("/home/haines/.emacs" "/home/haines/.emacs"
>> nil nil)
>> load("~/.emacs")
>> reload()
>>
>> Since I've no clue, I've appended the pasted lines. I had assumed that
>> all I had to do was paste these lines from the biber manual and reload
>> to gain access to the C-c C-c biber command.
>>
>
> Why is the following not wrapped in
>
> (eval-after-load "tex" '(add-to-list ... ))
>
>
>> (add-to-list 'TeX-command-list
>> (quote
>> ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")))
>
> along with the rest:
>
>> (eval-after-load "tex"
>> (quote (defun TeX-Biber-sentinel (process name)
Oh, and by the way: you don't exactly make things faster by hundreds of
separate eval-after-load calls. Just wrap all in a single
(eval-after-load "tex"
'(progn
first-command
second-command
andsoon
)
)
--
David Kastrup