advice-removeadvice-remove is a compiled Lisp function in `
nadvice.el'. (advice-remove SYMBOL FUNCTION) Like `remove-function' but for the function named SYMBOL. Contrary to `remove-function', this also works when SYMBOL is a macro or an autoload and it preserves `fboundp'. Instead of the actual function to remove, FUNCTION can also be the `name' of the piece of advice.