[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reftex broken: "symbol's function definition is void: decf"
From: |
Robert Thorpe |
Subject: |
Re: reftex broken: "symbol's function definition is void: decf" |
Date: |
6 Feb 2007 10:31:18 -0800 |
User-agent: |
G2/1.0 |
On Feb 5, 4:39 pm, alma...@gmail.com wrote:
> Hi,
> I'm using emacs (21.4.1) and auctex (all from ubuntu edgy) as tex
> editor, but somehow, for some tex files reftex is mysteriously broken.
> Any reftex action (label, cite, table of contents) gives: "symbol's
> function definition is void: decf" in the minibuffer. strange thing is
> that it doesn't seem to have anything to do with the tex file, I've
> copy pasted the exact same content of the file into a new file and
> then it works and then when I change the name of that file to yet
> something else it stops working again. Anyone have any idea what may
> be going on here?
To expand on Kevin's reply.
It is common in Elisp to include the CL package only for it's macros,
this is done by putting:-
(eval-when-compile (require 'cl))
in the file. This means though that CL will only be required at
compile time.
So to make this file work you must byte-compile it.