[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditional binding and testing of `lexical-binding'
From: |
Stefan Monnier |
Subject: |
Re: Conditional binding and testing of `lexical-binding' |
Date: |
Sun, 02 Jan 2022 13:29:35 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> OTOH, I don't think there's much to be gained by using lexical binding
> at all in code that's supposed to be compatible with versions of Emacs
> without lexical binding.
You get better byte-compiler warnings, and the native code generated
from it is of higher quality, so it's likely to be marginally faster in
such a build.
Nothing ground breaking, admittedly.
Stefan
Re: Conditional binding and testing of `lexical-binding', Stefan Monnier, 2022/01/02