Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(require 'cl) deprecated in emacs 27 #1

Closed
ericpmoss opened this issue Aug 31, 2021 · 1 comment
Closed

(require 'cl) deprecated in emacs 27 #1

ericpmoss opened this issue Aug 31, 2021 · 1 comment

Comments

@ericpmoss
Copy link

Using emacs 27.x, I get warned that 'cl is a deprecated package.

I think the easy fix is to replace every occurrence of

(require 'cl)

with:

(if (>= emacs-major-version 27)
(require 'cl-lib)
(require 'cl))

@franzinc
Copy link
Owner

franzinc commented Sep 2, 2021

I have made the changes to use cl-lib from cl, but the changes are fairly extensive. Changing things like case to cl-case, loop to cl-loop, do to cl-do, etc. I expect the changes to appear in the eli repo in the next week.

@franzinc franzinc closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants