|
From: | Dmitry Gutov |
Subject: | Re: [Emacs-diffs] emacs-25 44c7b49: In xref-collect-references, force backends to respect the 'dir' arg |
Date: | Thu, 28 Jan 2016 13:25:47 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 |
On 01/28/2016 01:15 PM, Stephen Leake wrote:
The byte compiler complains that ede-minor-mode is an "unused lexical variable", so I expect there may be a problem with byte-compiled code.The `let' either binds the existing global variable, or creates a new local one; no problems.
IIUC, whether the variable is global or local, is being decided when a file is loaded, not at runtime. Thus, if ede.el is loaded after xref.el, ede-minor-mode binding there will be a local (lexical) one, and won't affect the global variable.
[Prev in Thread] | Current Thread | [Next in Thread] |