Function: ad-clear-cache

ad-clear-cache is an interactive and byte-compiled function defined in advice.el.gz.

Signature

(ad-clear-cache FUNCTION)

Documentation

Clears a previously cached advised definition of FUNCTION.

Clear the cache if you want to force ad-activate to construct a new advised definition from scratch.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
(defun ad-clear-cache (function)
  "Clears a previously cached advised definition of FUNCTION.
Clear the cache if you want to force `ad-activate' to construct a new
advised definition from scratch."
  (interactive
   (list (ad-read-advised-function "Clear cached definition of")))
  (ad-set-advice-info-field function 'cache nil))