help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Surrounding Lexical Variable Reference in the Body of defun


From: justinhj
Subject: Re: Surrounding Lexical Variable Reference in the Body of defun
Date: Wed, 22 Aug 2012 19:56:12 -0700 (PDT)
User-agent: G2/1.0

Does this mean that if you build from emacs trunk then the code above should 
compile and run just fine? In which case is the manual wrong (or at least out 
of date) about warning you not to refer to the surrounding lexical environment 
from inside a defun?

Justin

> I believe this is fixed in the Emacs trunk (where defun is just a macro
> 
> that expands to a defalias+lambda and where the docstrings handling was
> 
> improved accordingly).
> 
> 
> 
> 
> 
>         Stefan



reply via email to

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