Variable: edebug-all-defs

edebug-all-defs is a customizable variable defined in edebug.el.gz.

Value

nil

Documentation

If non-nil, evaluating defining forms instruments for Edebug.

This applies to eval-defun, eval-region and eval-buffer. eval-region is also called by eval-last-sexp, and eval-print-last-sexp.

You can use the command edebug-all-defs(var)/edebug-all-defs(fun) to toggle the value of this variable. You may wish to make it local to each buffer with
(make-local-variable 'edebug-all-defs) in your
emacs-lisp-mode-hook.

Note that this user option has no effect unless the edebug package has been loaded.

View in manual

Probably introduced at or before Emacs version 19.23.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/edebug.el.gz
;; edebug-all-defs and edebug-all-forms need to be autoloaded
;; because the byte compiler binds them; as a result, if edebug
;; is first loaded for a require in a compilation, they will be left unbound.

;;;###autoload
(defcustom edebug-all-defs nil
  "If non-nil, evaluating defining forms instruments for Edebug.
This applies to `eval-defun', `eval-region' and `eval-buffer'.
`eval-region' is also called by `eval-last-sexp', and
`eval-print-last-sexp'.

You can use the command `edebug-all-defs' to toggle the value of this
variable.  You may wish to make it local to each buffer with
\(make-local-variable \\='edebug-all-defs) in your
`emacs-lisp-mode-hook'.

Note that this user option has no effect unless the edebug
package has been loaded."
  :require 'edebug
  :type 'boolean)