Function: ad-recover-normality

ad-recover-normality is an interactive and byte-compiled function defined in advice.el.gz.

Signature

(ad-recover-normality)

Documentation

Undo all advice related redefinitions and unadvises everything.

Use only in REAL emergencies.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/advice.el.gz
;; @@ Starting, stopping and recovering from the advice package magic:
;; ===================================================================

(defun ad-recover-normality ()
  "Undo all advice related redefinitions and unadvises everything.
Use only in REAL emergencies."
  (interactive)
  (ad-recover-all)
  (ad-do-advised-functions (function)
    (message "Oops! Left over advised function %S" function)
    (ad-pop-advised-function function)))