Function: advice-function-mapc

advice-function-mapc is a byte-compiled function defined in nadvice.el.gz.

Signature

(advice-function-mapc F FUNCTION-DEF)

Documentation

Apply F to every advice function in FUNCTION-DEF.

F is called with two arguments: the function that was added, and the properties alist that was specified when it was added.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/nadvice.el.gz
(defun advice-function-mapc (f function-def)
  "Apply F to every advice function in FUNCTION-DEF.
F is called with two arguments: the function that was added, and the
properties alist that was specified when it was added."
  (while (advice--p function-def)
    (funcall f (advice--car function-def) (advice--props function-def))
    (setq function-def (advice--cdr function-def))))