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: Andreas Röhler
Subject: bug#25117: 25.1.90; Result of called-interactively-p differs WRT file contents
Date: Mon, 5 Dec 2016 21:09:42 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0



On 05.12.2016 20:51, Noam Postavsky wrote:
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".

Yes, typed and M-x eval-buffer.

  Try it again after running M-x normal-mode in that buffer

Okay, when opening with lb to t inside already, under edebug the error shows up here too. Thanks!





reply via email to

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