]> git.eshelyaron.com Git - emacs.git/commitdiff
Reintroduce autoloads for edebug-all-defs/edebug-all-forms
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 9 May 2021 09:47:01 +0000 (11:47 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 9 May 2021 09:47:01 +0000 (11:47 +0200)
* lisp/emacs-lisp/edebug.el (edebug-all-defs, edebug-all-forms):
Reintroduce ;;;###autoload of these user options that were removed
in bae2cfe63c, because this leads to errors in a common (and
recommended) use case (bug#47516).

lisp/emacs-lisp/edebug.el

index b08ee3c4a1701034d46fa4807b81644bb0b78a9b..2aec8197dc9be3f1963faa9666cc5ba1158ca8e1 100644 (file)
@@ -88,6 +88,7 @@ using, but only when you also use Edebug."
 ;; 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', `eval-buffer', and
@@ -100,6 +101,7 @@ variable.  You may wish to make it local to each buffer with
 `emacs-lisp-mode-hook'."
   :type 'boolean)
 
+;;;###autoload
 (defcustom edebug-all-forms nil
   "Non-nil means evaluation of all forms will instrument for Edebug.
 This doesn't apply to loading or evaluations in the minibuffer.