unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Are "proper" closures used in Emacs sources?
@ 2021-01-12 13:50 Marcin Borkowski
  2021-01-12 15:43 ` tomas
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Marcin Borkowski @ 2021-01-12 13:50 UTC (permalink / raw)
  To: emacs-devel@gnu.org

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,

-- 
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-12 17:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-12 13:50 Are "proper" closures used in Emacs sources? Marcin Borkowski
2021-01-12 15:43 ` tomas
2021-01-12 15:56 ` Zhu Zihao
2021-01-12 15:57 ` Stefan Monnier
2021-01-12 16:48 ` Andrea Corallo via Emacs development discussions.
2021-01-12 17:22   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).