I was having fun adding some advice to a function:
(advice-add 'executable-find :around
(lambda (f &rest args)
(apply g args)))
;;; ^
Ouch, a typo. Fixed it and evaluated above code again. But now I have both, the "corrected" and the "broken" advice around that function.
How do I get rid of these? Given that advice-remove
needs either the function object or the around advice (which is empty here)?
(Obviously I can just quit and restart, but there's another way, is it?)