bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25117: 25.1.90; Result of called-interactively-p differs WRT file co


From: Noam Postavsky
Subject: bug#25117: 25.1.90; Result of called-interactively-p differs WRT file contents
Date: Mon, 5 Dec 2016 14:51:21 -0500

On Mon, Dec 5, 2016 at 2:52 PM, Andreas Röhler
<address@hidden> wrote:
>
>
> On 05.12.2016 20:34, Noam Postavsky wrote:
>>
>> On Mon, Dec 5, 2016 at 2:38 PM, Andreas Röhler
>> <address@hidden> wrote:
>>>>
>>>> The difference is lexical-binding: t, also happens at least as far back
>>>> as
>>>> 24.3.
>>>
>>>
>>> Not sure about that. Checked with and without lexical-binding. Seems not
>>> making the difference. See png attached - with emacs -Q checked earlier
>>> and
>>> same result.
>>
>> The text doesn't make the difference, it's the buffer-local value of
>> the lexical-binding variable that matters.
>>
>> Having the text in the file affects the value indirectly, see
>>
>> https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html
>
>
> Hmm, don't understand. The lexical-binding is t in both files, set in first
> line. But example foo behaves differently.

My guess is that you typed in "lexical-binding: t" after you opened
"eil.el". Try it again after running M-x normal-mode in that buffer





reply via email to

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