[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48781: adaptive-wrap.el (elpa): Enable lexical binding
From: |
Stefan Monnier |
Subject: |
bug#48781: adaptive-wrap.el (elpa): Enable lexical binding |
Date: |
Wed, 02 Jun 2021 09:17:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> -;;; adaptive-wrap.el --- Smart line-wrapping with wrap-prefix
> +;;; adaptive-wrap.el --- Smart line-wrapping with wrap-prefix -*-
> lexical-binding: t; -*-
>
> For 'adaptive-wrap.el' from ELPA
> (http://elpa.gnu.org/packages/adaptive-wrap-0.5.el)
>
> After testing for a week, I haven't observed any changes in behaviour.
Thanks, installed.
Lars wrote:
> I'm not sure what the range of supported Emacs versions there are for
> adaptive-wrap -- lexical binding can't be used in older Emacs versions
To the extent that the code doesn't take advantage of lexical scoping,
it doesn't matter because it will still work just as well as before on
Emacs<24.
> (but perhaps there are no version that has both package.el and doesn't
> support lexical binding; I forget).
The first Emacs that came with `package.el` was Emacs-24, which is also
the first that came with `lexical-binding`.
There have been versions of `package.el` patched to work in Emacs<24
(not sure how far back it worked), but indeed I tend to consider
Emacs-24 as the "baseline" for ELPA packages.
Stefan