Function: ad-is-active

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

Signature

(ad-is-active FUNCTION)

Documentation

Return non-nil if FUNCTION is advised and activated.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
;; Don't make this a macro so we can use it as a predicate:
(defun ad-is-active (function)
  "Return non-nil if FUNCTION is advised and activated."
  (ad-get-advice-info-field function 'active))