Re: Warning: reference to free variable `begin'

Ralf Angeli <[email protected]> Fri, 18 Mar 2005 18:51:42 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* David Kastrup (2005-03-18) writes:

> Ralf Angeli <[email protected]> writes:
>
>> * David Kastrup (2005-03-18) writes:
>>
>>> Ralf Angeli <[email protected]> writes:
>>>
>>>> Warning: reference to free variable `begin'
>>>>
>>>> The byte compiler obviously ignores the boundp check in the advice for
>>>> `TeX-region-create' in preview.el and barfs.
>>>
>>> Anybody have a better idea than (symbol-value 'begin)?
>>
>> Not really.  Looks okay.
>
> You tried it (again, I can't remember seeing it here, so I'd rather
> rely on your input)?  Not that we find the byte-compiler optimizing
> this to `begin' and then complaining about it...

Yes, I tried it and it works.  I could also try to debug what makes
the byte compiler barf in the first place, but I really have no idea
where to look at.

-- 
Ralf