Re: Warning: reference to free variable `begin'

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

> * David Kastrup (2005-03-18) writes:
>
>> Me neither.  Outside of advice, I think this might be supposed to
>> work.  Not too sure about that, though.
>
> No, it won't.  Try `M-x compile-defun RET' on the following function:
>
> (defun foo ()
>   (and (boundp 'begin) begin))
>
> However, it will work if you replace `and' by `if'.

Uh, did I mention that besides (symbol-value 'begin) there is another
alternative for solving this problem?

-- 
Ralf