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

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

Re: Package cl is deprecated


From: Marcin Borkowski
Subject: Re: Package cl is deprecated
Date: Wed, 28 Jul 2021 20:11:02 +0200
User-agent: mu4e 1.1.0; emacs 28.0.50

On 2021-07-28, at 11:54, Thibaut Verron <thibaut.verron@gmail.com> wrote:

> On 28/07/2021 11:46, Hongyi Zhao wrote:
>> On Wed, Jul 28, 2021 at 5:33 PM Thibaut Verron <thibaut.verron@gmail.com> 
>> wrote:
>>> On 28/07/2021 11:23, Hongyi Zhao wrote:
>>>> When I start Emacs, I always notice the following message in *Messages* 
>>>> buffer:
>>>>
>>>> Package cl is deprecated
>>>>
>>>> Any hints for eliminating it?
>>> If you have (require 'cl) somewhere in your init file, replace it with
>>> (require 'cl-lib). You might need to change some macro calls to use
>>> cl-<name> instead of <name>.
>> $ egrep 'require[ ]*'\''cl' .emacs.d/init.el
>> (require 'cl-lib)
>
> Then it's from a package and you need to identify it.
>
> You can try (untested):
>
> find .emacs.d/ -name "*.el" -exec grep "(require 'cl)" {} \;
>
> But I'm sure there is an easier way to do it from within emacs.

You might be interested in this:
https://github.com/Malabarba/elisp-bug-hunter

Hth,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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