emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-25 44c7b49: In xref-collect-references, force ba


From: Stephen Leake
Subject: Re: [Emacs-diffs] emacs-25 44c7b49: In xref-collect-references, force backends to respect the 'dir' arg
Date: Thu, 28 Jan 2016 14:38:42 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Dmitry Gutov <address@hidden> writes:

> 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, 

or byte-compiled

>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.

Yes, you are correct. I have only used it with ede loaded.

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]