GNU bug report logs - #19828
[PATCH] eval.c: couldn't make closures

Previous Next

Package: emacs;

Reported by: 尾崎 成一 <mitararu <at> gmail.com>

Date: Tue, 10 Feb 2015 08:41:04 UTC

Severity: normal

Tags: notabug

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 19828 <at> debbugs.gnu.org (full text, mbox):

From: Shigekazu Ozaki <mitararu <at> gmail.com>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 19828 <at> debbugs.gnu.org
Subject: Re: bug#19828: [PATCH] eval.c: couldn't make closures
Date: Tue, 10 Feb 2015 21:06:06 +0900
>> The following code doesn't work because doesn't create any lexical
>> environment correctly in Emacs 24.4.1.
>
> I think this is not a bug. In order for emacs to create closures, you
> need to enable lexical-binding (usually done via a file local variable
> at the top of the file, e.g. using add-file-local-variable-prop-
> line).
>
> See (info "(elisp) Closures").

I see. I've misunderstood about the lexical bindings. Thank you. It's
very kind of you.




This bug report was last modified 10 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.