[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: |
Stefan Monnier |
Subject: |
Re: master 06a7963: Remove unused vars in cl-extra.el and tramp.el. |
Date: |
Sun, 19 Mar 2017 08:47:46 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>> +(defvar outline-regexp)
>> +(defvar ls-lisp-use-insert-directory-program)
> 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).
Stefan "whose local Emacs uses lexical-binding everywhere, and
otherwise compiles with byte-compile-force-lexical-warnings"