From: Richard M. Stallman Date: Thu, 7 May 1998 23:31:26 +0000 (+0000) Subject: (edebug-all-forms): Add autoload cookie. X-Git-Tag: emacs-20.3~1087 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36f8d564cd6f81211a792d3d64aa4252d67dda81;p=emacs.git (edebug-all-forms): Add autoload cookie. (edebug-all-defs): Likewise. --- 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.