auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Re: Referencing labels with refstyle.sty


From: David Kastrup
Subject: Re: [AUCTeX] Re: Referencing labels with refstyle.sty
Date: Thu, 12 Jul 2007 09:20:32 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * Alan Ristow (2007-07-12) writes:
>
>> Ralf Angeli wrote:
>>> 
>>> (set (make-local-variable 'reftex-format-ref-function)
>>>      'my-reftex-format-ref-function)
>>
>> I had to change that last line to:
>>
>> (setq reftex-format-ref-function 'my-reftex-format-ref-function)))
>
> But this will globally change the value of the variable.  The idea of
> the variant proposed by me was to change it only for buffers where
> refstyle.sty is used.  I'm not sure why this is not working, though.

Don't know where this is called, but it seems appropriate to add
(message "Current buffer: %s" (buffer-name))
for debugging.

I can't imagine anything else making a difference here.

-- 
David Kastrup




reply via email to

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