Function: ad-has-redefining-advice

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

Signature

(ad-has-redefining-advice FUNCTION)

Documentation

True if FUNCTION's advice info defines at least 1 redefining advice.

Redefining advices affect the construction of an advised definition.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
(defun ad-has-redefining-advice (function)
  "True if FUNCTION's advice info defines at least 1 redefining advice.
Redefining advices affect the construction of an advised definition."
  (and (ad-is-advised function)
       (or (ad-has-enabled-advice function 'before)
	   (ad-has-enabled-advice function 'around)
	   (ad-has-enabled-advice function 'after))))