Subject: Re: bug#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-mode

From: Philip Kaludercic <[email-masked]>
Date: Sat, 30 Mar 2024 11:07:00 +0000

Eli Zaretskii <[email-masked]> writes:

>> From: Philip Kaludercic <[email-masked]>
>> Date: Fri, 29 Mar 2024 11:31:49 +0000
>> 
>> The main intention here is to avoid underlining the first line in the
>> *scratch* buffer when flymake is enabled:
>
> If this is the goal, why such a general change?  Wouldn't it be better
> to special-case *scratch* in Flymake instead?  Making such
> generalizations runs the risk of unintended consequences.

My thinking was that one never needs to set the variable anyway, since
`lisp-interaction-mode' sets `lexical-binding' anyway.  Alternatively,
one could also modify the patch to check if `lexical-binding' is non-nil?

-- 
	Philip Kaludercic on peregrine