From 36f8d564cd6f81211a792d3d64aa4252d67dda81 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 7 May 1998 23:31:26 +0000 Subject: [PATCH] (edebug-all-forms): Add autoload cookie. (edebug-all-defs): Likewise. --- lisp/emacs-lisp/edebug.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index d758a0d1e0a..ae111e735ba 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -107,6 +107,11 @@ using but only when you also use Edebug." :type 'hook :group 'edebug) +;; 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, evaluation of any defining forms will instrument for Edebug. This applies to `eval-defun', `eval-region', `eval-buffer', and @@ -120,6 +125,11 @@ variable. You may wish to make it local to each buffer with :type 'boolean :group 'edebug) +;; 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-forms nil "*Non-nil evaluation of all forms will instrument for Edebug. This doesn't apply to loading or evaluations in the minibuffer. -- 2.39.2