[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19828: [PATCH] eval.c: couldn't make closures
From: |
Shigekazu Ozaki |
Subject: |
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.