unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* missing lexical-binding cookie warning when loading .el files
@ 2024-05-03 17:28 Mattias Engdegård
  2024-05-03 17:59 ` Eli Zaretskii
  0 siblings, 1 reply; 24+ messages in thread
From: Mattias Engdegård @ 2024-05-03 17:28 UTC (permalink / raw)
  To: emacs-devel

There is now a warning about missing -*-lexical-binding:...-*- cookie in .el files being loaded, since not all Lisp code is compiled. The idea is that dealing with the odd warnings now is better than being surprised by sudden change of behaviour in Emacs 31, when lexical-binding will be enabled by default.

It should be a net benefit, but no doubt some people we get more warnings than others. If that turns out to be very common then we may reconsider, but the warning can always be suppressed.




^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-05-05 16:22 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 17:28 missing lexical-binding cookie warning when loading .el files Mattias Engdegård
2024-05-03 17:59 ` Eli Zaretskii
2024-05-03 19:41   ` Mattias Engdegård
2024-05-04  3:41     ` Po Lu
2024-05-04  4:18       ` Po Lu
2024-05-04  4:40         ` Po Lu
2024-05-04  7:32           ` Eli Zaretskii
2024-05-04  8:10             ` Po Lu
2024-05-04  8:19               ` Eli Zaretskii
2024-05-04  8:23                 ` Po Lu
2024-05-04  9:05                   ` Eli Zaretskii
2024-05-04  9:22                     ` Po Lu
2024-05-04  9:24                     ` Eli Zaretskii
2024-05-04 10:31                       ` Mattias Engdegård
2024-05-04 12:59                         ` Eli Zaretskii
2024-05-04 16:22                           ` Mattias Engdegård
2024-05-05 14:13                             ` Mattias Engdegård
2024-05-05 14:28                               ` Arsen Arsenović
2024-05-05 14:58                                 ` Mattias Engdegård
2024-05-05 16:22                                   ` [External] : " Drew Adams
2024-05-05 14:44                               ` Po Lu
2024-05-04  9:47             ` Mattias Engdegård
2024-05-04 10:01               ` Po Lu
2024-05-04 16:54               ` [External] : " Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).