Function: ert-unload-function

ert-unload-function is a byte-compiled function defined in ert.el.gz.

Signature

(ert-unload-function)

Documentation

Unload function to undo the side-effects of loading ert.el.

Aliases

ert--unload-function (obsolete since 31.1)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert-unload-function ()
  "Unload function to undo the side-effects of loading ert.el."
  (ert--remove-from-list 'find-function-regexp-alist 'ert--test :key #'car)
  (ert--remove-from-list 'minor-mode-alist 'ert--current-run-stats :key #'car)
  (ert--remove-from-list 'emacs-lisp-mode-hook
                         'ert--activate-font-lock-keywords)
  nil)