Function: testcover-enter

testcover-enter is a byte-compiled function defined in testcover.el.gz.

Signature

(testcover-enter FUNC ARGS BODY)

Documentation

Begin execution of a function under coverage testing.

Bind testcover-vector to the code-coverage vector for FUNC and return the result of evaluating BODY.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/testcover.el.gz
(defun testcover-enter (func _args body)
  "Begin execution of a function under coverage testing.
Bind `testcover-vector' to the code-coverage vector for FUNC and
return the result of evaluating BODY."
  (let ((testcover-vector (get func 'edebug-coverage)))
    (funcall body)))