Skip to content

Conversation

RolKau
Copy link

@RolKau RolKau commented Mar 2, 2025

As of Emacs 30.1, defadvice is deprecated. Although it still works, loading smart-tabs-mode will now cause an annoying warning in the messages buffer.

This patch rewrites the uses of defadvice into uses of define-advice instead. define-advice is a helper function that combines defun with advice-add, which is the replacement of defadvice. No changes in semantics is expected from this rewrite.

As of Emacs 30.1, defadvice is deprecated. Although it still works,
loading smart-tabs-mode will now cause an annoying warning in the
messages buffer.

This patch rewrites the uses of defadvice into uses of define-advice
instead. define-advice is a helper function that combines defun with
advice-add, which is the replacement of defadvice. No changes in
semantics is expected from this rewrite.
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