]> git.eshelyaron.com Git - emacs.git/commit
Change Edebug's behavior-changing hooks to variables
authorGemini Lasswell <gazally@runbox.com>
Sat, 14 Oct 2017 16:13:36 +0000 (09:13 -0700)
committerGemini Lasswell <gazally@runbox.com>
Sun, 22 Oct 2017 17:47:50 +0000 (10:47 -0700)
commite07cf691decf01dc3cbe19a413708570b95bc41b
tree0500a27e83dcef7fdf5bb846562e9d92c67fbf58
parent9c8f8de0f3e00d4f862fa5c17e3b46fcd23e5f7f
Change Edebug's behavior-changing hooks to variables

* lisp/emacs-lisp/edebug.el (edebug-after-instrumentation-functions)
(edebug-new-definition-functions): Deleted.
(edebug-after-instrumentation-function)
(edebug-new-definition-function): New variables.
(edebug-behavior-alist): Update docstring.
(edebug-read-and-maybe-wrap-form1, edebug-make-form-wrapper): Use new
variables.

* lisp/emacs-lisp/testcover.el (testcover-start)
(testcover-this-defun): Use `edebug-after-instrumentation-function' and
`edebug-new-definition-function'.
(testcover-after-instrumentation): Return passed form.
(testcover-init-definition): Use argument instead of `edebug-def-name'.

* doc/lispref/edebug.texi (Edebug Options): Replace descriptions of
`edebug-after-instrumentation-functions' and `edebug-new-definition-functions'
with `edebug-after-instrumentation-function' and
`edebug-new-definition-function'.
doc/lispref/edebug.texi
etc/NEWS
lisp/emacs-lisp/edebug.el
lisp/emacs-lisp/testcover.el