Function: ad-initialize-advice-info

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

Signature

(ad-initialize-advice-info FUNCTION)

Documentation

Initialize the advice info for FUNCTION.

Assumes that FUNCTION has not yet been advised.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
(defun ad-initialize-advice-info (function)
  "Initialize the advice info for FUNCTION.
Assumes that FUNCTION has not yet been advised."
  (ad-pushnew-advised-function function)
  (ad-set-advice-info function (list (cons 'active nil))))