Skip to content

Use package cl-lib instead of deprecated package cl#5

Open
logicdavid wants to merge 1 commit intoJUrban:masterfrom
logicdavid:master
Open

Use package cl-lib instead of deprecated package cl#5
logicdavid wants to merge 1 commit intoJUrban:masterfrom
logicdavid:master

Conversation

@logicdavid
Copy link
Copy Markdown

I couldn't get mizar mode to run on Emacs 28, and I think it is because the package cl has been moved to cl-lib and its functions acquire the prefix "cl-" (third becomes cl-third, and incf becomes cl-incf). So I updated mizar.el to use the new package and new functions. Now it run on Emacs 28 and presumably, any Emacs since 24.3, when cl-lib was introduced.

@pqnelson
Copy link
Copy Markdown
Contributor

pqnelson commented Dec 20, 2022

There are a few functions you missed upgrading (e.g., line 971 (mizar-pp-parsed-fla (fourth fla)))) should replace fourth with cl-fourth; also instances of sixth should be cl-sixth, etc.).

But the reason Mizar-mode probably won't work on Emacs 28 is because get-line was completely rewritten and broke Mizar-mode.

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

Successfully merging this pull request may close these issues.

2 participants