|
From: | Stefan Monnier |
Subject: | Re: How do I pass a variable defined in a wrapping let, to a lambda? |
Date: | Sat, 12 Mar 2022 09:47:02 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Steinar Bang [2022-03-12 09:53:32] wrote: >>>>>> Stefan Monnier via Users list for the GNU Emacs text editor >>>>>> <help-gnu-emacs@gnu.org>: >> Eric Abrahamsen [2022-03-11 15:04:30] wrote: >>> They've got a lexical-binding cookie at the top of the file, but you don't! >>> :) >> That's right. >> Nowadays, *all* files with a `.el` extension should have >> `-*- lexical-binding:t -*-` somewhere on their first line. > Can I do that in .emacs? Depends what you mean by "do that". You can't easily write a chunk of ELisp code to put into your init file that will magically cause all other files to have that cookie (at least not without probably breaking some code somewhere). But yes you can have that magic thingy on the first line of your init file, just as for any other ELisp file. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |