ELPA Logo GNU ELPA: nadvice

nadvice Atom Feed

Description
Forward compatibility for Emacs-24.4's nadvice
Latest
nadvice.tar (.sig), 2024-Mar-31, 0.01 KiB
Maintainer
Stefan Monnier <monnier@iro.umontreal.ca>
Other versions:
development version
Website
https://elpa.gnu.org/nongnu/nadvice.html
Repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This package tries to re-implement some of nadvice.el's functionality
on top of the old defadvice system, to help users of defadvice
move to the new advice system without dropping support for Emacs<24.4.

Limitations;
- only supports `advice-add', `advice-remove', and `advice-member-p'.
- only handles the :before, :after, :override, and :around kinds of advice;
- requires a named rather than anonymous function;
- and does not support any additional properties like `name' or `depth'.

It was tested on Emacs-22 and I can't see any obvious reason why it
wouldn't work on older Emacsen.

Old versions

nadvice-0.3.el.lz2018-Sep-161.61 KiB
nadvice-0.2.el.lz2018-Sep-131.46 KiB
nadvice-0.1.el.lz2018-Sep-121.38 KiB

News

Since 0.3:
- Fix a bug when advising functions that do not take arguments.