I accidentally added a lambda function that wasn't done being written to the advice of a function, and the function doesn't work. I don't know the exact text of the lambda function. Obviously, I could fix the problem by restarting emacs, but I don't want to have to do that.

How do I get a list of advice defined for a function so I can remove the lambda function?

  • And yes, I have decided that advising with lambda functions is a bad idea. It would still be interesting to know how to get a list.
    – Zorgoth
    Aug 13, 2017 at 14:51
  • 3
    Should be easy enough to modify this answer to remove just the advice you want.
    – npostavs
    Aug 13, 2017 at 16:35


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.