]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the edebug-all-defs user option work more reliably
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 21 Jan 2022 11:26:30 +0000 (12:26 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 21 Jan 2022 11:26:36 +0000 (12:26 +0100)
* lisp/emacs-lisp/edebug.el (edebug-all-defs): This user option
has no effect unless edebug is loaded (because that loads the
advice needed for the commands in question) (bug#53331).

lisp/emacs-lisp/edebug.el

index fe97804ec4a41b1ba0f594b3ff6d4582571c1602..1720393b3e56e9d02bf3322dbbdc9290d70b3107 100644 (file)
@@ -98,7 +98,11 @@ This applies to `eval-defun', `eval-region', `eval-buffer', and
 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'."
+`emacs-lisp-mode-hook'.
+
+Note that this user option has no effect unless the edebug
+package has been loaded."
+  :require 'edebug
   :type 'boolean)
 
 ;;;###autoload