emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lexical mumblings


From: Stefan Monnier
Subject: Re: lexical mumblings
Date: Fri, 26 Oct 2001 15:12:13 -0400

> There are several possible ways -- for instance, a special `llet' form,
> if you just want to use lexical binding for particular cases [maybe in a
> speed critical inner loop], or perhaps putting `(use-lexical-binding)'
> at the top-level of an elisp source file, which would cause
> byte-compiler to lexically bind local variables instead of using the
> normal dynamic binding.

`llet' is fine, but (use-lexical-binding) is more tricky because the
code should also work with the interpreter which can't easily keep track
of whether a piece of code came from a file that said (use-lexical-binding).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]