GNU ELPA - advice-patch

advice-patch

Description
Use patches to advise the inside of functions
Latest
advice-patch-0.1.el, 2019-May-10, 5.72 KiB
Home page
http://elpa.gnu.org/packages/advice-patch.html
Browse repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET advice-patch RET

Full description

This package builds on `advice-add' but instead of letting you add code
before/after/around the body of the advised function, it lets you directly
patch the inside of that function.

This is inspired from [el-patch](https://github.com/raxod502/el-patch),
but stripped down to its barest essentials.  `el-patch' provides many more
features, especially to be notified when the advised function is modified
and to help you update your patches accordingly.

Beware: this can eat your lunch and can misbehave unexpectedly in many
legitimate cases.