Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interactivity to the Advice section #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 30, 2022

  1. Add interactivity to the Advice section

    This lists every new style advice (nadvice.el) of a callable in the
    Advice section instead of simply saying that it is advised. Further, a
    button is provided for each advice to remove it.
    
    Another button is provided to remove all advices from the callable.
    This also removes old style advices.
    
    Mentions of all advices in the docstring (the "This function has
    :around advice:" line) are removed, regardless of whether they come
    before the docstring or after (Emacs 28 change), or whether they come
    from advice.el or nadvice.el.
    
    (helpful--advices): New function that returns new style (nadvice.el)
    advices of a given symbol
    (helpful--skip-advice): Remove docstring mentions of new style advices
    (helpful-update): Only show Advice section if we're describing a
    callable; revamp Advice section
    kisaragi-hiu committed May 30, 2022
    Configuration menu
    Copy the full SHA
    731de60 View commit details
    Browse the repository at this point in the history