Re: Warning: reference to free variable `begin'
David Kastrup <[email protected]> Fri, 18 Mar 2005 19:05:42 +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: >> >>> * 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. Ok, I'll check this in. > 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. Me neither. Outside of advice, I think this might be supposed to work. Not too sure about that, though. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum