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

[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: Eli Zaretskii
Subject: bug#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-mode
Date: Sat, 30 Mar 2024 15:54:30 +0300

> From: Philip Kaludercic <philipk@posteo.net>
> Cc: 70068@debbugs.gnu.org
> 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?

The latter possibility would be better, I think.  Stefan, WDYT?





reply via email to

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