changeset 21990:02b32ae7e637

(edebug-all-forms): Add autoload cookie. (edebug-all-defs): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Thu, 07 May 1998 23:31:26 +0000
parents d6cca4865f58
children e80802548c11
files lisp/emacs-lisp/edebug.el
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el	Thu May 07 23:21:15 1998 +0000
+++ b/lisp/emacs-lisp/edebug.el	Thu May 07 23:31:26 1998 +0000
@@ -107,6 +107,11 @@
   :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 @@
   :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.