Function: ad-do-advised-functions

ad-do-advised-functions is a macro defined in advice.el.gz.

Signature

(ad-do-advised-functions VARFORM &rest BODY)

Documentation

dolist-style iterator that maps over advised functions.

(ad-do-advised-functions (VAR)
   BODY-FORM...)
On each iteration VAR will be bound to the name of an advised function
(a symbol).

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
(defmacro ad-do-advised-functions (varform &rest body)
  "`dolist'-style iterator that maps over advised functions.
\(ad-do-advised-functions (VAR)
   BODY-FORM...)
On each iteration VAR will be bound to the name of an advised function
\(a symbol)."
  (declare (indent 1))
  `(dolist (,(car varform) ad-advised-functions)
     (setq ,(car varform) (intern ,(car varform)))
     ,@body))