[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-
From: |
Philip Kaludercic |
Subject: |
bug#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-mode |
Date: |
Sat, 30 Mar 2024 11:07:00 +0000 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> 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