[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are "proper" closures used in Emacs sources?
From: |
Zhu Zihao |
Subject: |
Re: Are "proper" closures used in Emacs sources? |
Date: |
Tue, 12 Jan 2021 23:56:51 +0800 |
User-agent: |
mu4e 1.4.14; emacs 27.1 |
Marcin Borkowski writes:
> Hi all,
>
> it's been quite some time since lexical binding was introduced to
> Elisp. Apart from possible optimizations and being less error-prone, it
> allows for all the cool tricks with closures. Are there any places in
> Emacs core where "proper" closures are actually used? (By "proper",
> I mean closures with non-empty lexical environment, actually using said
> environment.)
>
> TIA,
thunk.el & generator.el
--
Retrieve my PGP public key:
gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F
Zihao
signature.asc
Description: PGP signature