[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lexical binding: why?
From: |
Stefan Monnier |
Subject: |
Re: Lexical binding: why? |
Date: |
Tue, 28 May 2019 13:21:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Just in passing, the Elisp manual doesn't seem to be as helpful as it
> might be, here. It doesn't positively recommend using lexical binding
> in new programs, for example.
Thanks for the heads up.
> Just in passing2, it seems to be difficult to enable lexical binding
> conditionally. The best that I can come up with is something like:
>
> -*- eval: (setq lexical-binding (> emacs-major-version 25)) -*-
Hmm... why do you need that? Is that because of a performance problem
in Emacs-24's lexical-binding support (likely the one that affects
condition-case and friends)?
Stefan
Re: Lexical binding: why?, John Wiegley, 2019/05/28