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

Fix warnings on Emacs >= 29.1 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pierre-rouleau
Copy link

  • The code does not seem to need cl, which in later Emacs should be cl-lib. Eliminating its require statement get rid of one problem.
  • ibuffer-remove-duplicates is obsolete as of Emacs 29.1. Now check Emacs version and use `seq-uniq' instead. Also prevent byte compiler warning for code supporting older version of Emacs.
  • ibuffer-awhen macro is obsolete as of Emacs 29.1. Replace the code by its expansion. The expansion is small anyway. This allows being compatible with new version of Emacs while keeping compatibility with older versions of Emacs.

- The code does not seem to need cl, which in later Emacs should be cl-lib.
  Eliminating its require statement get rid of one problem.
- `ibuffer-remove-duplicates' is obsolete as of Emacs 29.1.  Now check Emacs
  version and use `seq-uniq' instead.  Also prevent byte compiler warning for
  code supporting older version of Emacs.
- `ibuffer-awhen' macro is obsolete as of Emacs 29.1.  Replace the code by its
  expansion.  The expansion is small anyway.  This allows being compatible
  with new version of Emacs while keeping compatibility with older versions of Emacs.
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.

1 participant