Function: ad-find-advice

ad-find-advice is a byte-compiled function defined in advice.el.gz.

Signature

(ad-find-advice FUNCTION CLASS NAME)

Documentation

Find the first advice of FUNCTION in CLASS with NAME.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
;; @@ Finding, enabling, adding and removing pieces of advice:
;; ===========================================================

(defsubst ad-find-advice (function class name)
  "Find the first advice of FUNCTION in CLASS with NAME."
  (assq name (ad-get-advice-info-field function class)))