helpful icon indicating copy to clipboard operation
helpful copied to clipboard

Display advice functions and their positions

Open Wilfred opened this issue 7 years ago • 1 comments

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

Wilfred avatar Sep 06 '17 08:09 Wilfred

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

lukertty avatar Apr 21 '18 14:04 lukertty