From: GNU Hacker <project@gnuhacker.org>
To: help-gnu-emacs@gnu.org
Subject: Re: lexical-let void function
Date: Sun, 27 Mar 2022 01:08:25 +0100 [thread overview]
Message-ID: <87wngg45qe.fsf@gnu.org> (raw)
In-Reply-To: <87fsn4wab8.fsf@telefonica.net> ("Óscar Fuentes"'s message of "Sun, 27 Mar 2022 00:42:03 +0100")
Óscar Fuentes <ofv@wanadoo.es> writes:
> GNU Hacker <project@gnuhacker.org> writes:
>> I find `lexical-let' func in a old emacs script, but it is a void
>> function in my emacs version 28.0.92
>> maybe require it any emacs package?
> (require 'cl)
> Emacs now provides "native" lexical binding. See the "Lexical binding"
> node in the Elisp manual.
Package cl is deprecated in emacs 28.0.92
I fixed it adding
-*- lexical-binding: t; -*-
to the first line
Just do
M-x elisp-enable-lexical-binding
--
Emacs Lover.
FSF Member.
Free/Libre Software supporter.
stallmansupport.org - Disinformation succeeds because so many people
care deeply about injustice but do not take the time to check the facts.
next prev parent reply other threads:[~2022-03-27 0:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-26 23:29 lexical-let void function GNU Hacker
2022-03-26 23:42 ` Óscar Fuentes
2022-03-26 23:54 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-27 0:08 ` GNU Hacker [this message]
2022-03-27 0:40 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-27 0:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-26 23:46 ` Emanuel Berg via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wngg45qe.fsf@gnu.org \
--to=project@gnuhacker.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).