[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 06a7963: Remove unused vars in cl-extra.el and tramp.el.
From: |
Michael Albinus |
Subject: |
Re: master 06a7963: Remove unused vars in cl-extra.el and tramp.el. |
Date: |
Sun, 19 Mar 2017 18:22:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> Why is this needed? Both variables are used let-bound only.
>
> Because they rely on dynamic scoping.
> I know that you haven't set `lexical-binding` in your files, so it's not
> *needed*, but with those declarations tramp.el is compatible with
> `lexical-binding` (to the best of my knowledge).
Thanks for explanation.
> Stefan "whose local Emacs uses lexical-binding everywhere, and
> otherwise compiles with byte-compile-force-lexical-warnings"
Tramp is still compatible with Emacs 23. Once this is given up, we might
move Tramp to lexical-binding.
Best regards, Michael.