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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lexical-let void function


From: GNU Hacker
Subject: Re: lexical-let void function
Date: Sun, 27 Mar 2022 01:08:25 +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.



reply via email to

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