helpful
helpful copied to clipboard
Display advice functions and their positions
Currently, we just say 'is advised'. See eval-defun
for an example.
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