Wilfred / helpful

A better Emacs *help* buffer
1.12k stars 62 forks source link

Display advice functions and their positions #30

Open Wilfred opened 7 years ago

Wilfred commented 7 years ago

Currently, we just say 'is advised'. See eval-defun for an example.

lukertty commented 6 years ago

Hi, maybe we can use this function to get a functions's advices list:

(defun yf/advice-list (symbol)
  (let (result)
    (advice-mapc
     (lambda (ad props)
       (push ad result))
     symbol)
    (nreverse result)))

From https://emacs.stackexchange.com/a/33344