Re: Warning: reference to free variable `begin'

David Kastrup <[email protected]> Fri, 18 Mar 2005 18:49:11 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Ralf Angeli <[email protected]> writes:

> * David Kastrup (2005-03-18) writes:
>
>> Ralf Angeli <[email protected]> writes:
>>
>>> Guess what, one of my favorite problems back from AUCTeX 11.54 made
>>> its way to preview-latex.  Upon opening a LaTeX file a *Compile-Log*
>>> buffer pops up and says
>>>
>>> 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.
>>
>> Sigh.
>>
>> 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...

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum