all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Shigekazu Ozaki <mitararu@gmail.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 19828@debbugs.gnu.org
Subject: bug#19828: [PATCH] eval.c: couldn't make closures
Date: Tue, 10 Feb 2015 21:06:06 +0900	[thread overview]
Message-ID: <CABTrPHmF3cydDHa_p+pEmS0-cmyD8Ad6pKf+GdKqAipEm=FhDw@mail.gmail.com> (raw)
In-Reply-To: <87vbjaggmk.fsf@yahoo.fr>

>> 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.





      reply	other threads:[~2015-02-10 12:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10  7:25 bug#19828: [PATCH] eval.c: couldn't make closures 尾崎 成一
2015-02-10 10:18 ` Shigekazu Ozaki
2015-02-10 11:17 ` Nicolas Richard
2015-02-10 12:06   ` Shigekazu Ozaki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABTrPHmF3cydDHa_p+pEmS0-cmyD8Ad6pKf+GdKqAipEm=FhDw@mail.gmail.com' \
    --to=mitararu@gmail.com \
    --cc=19828@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.