summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-01-21 12:26:30 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-21 12:26:36 +0100
commit5561d5de56db90b6d9ca637f2beb2f837f224009 (patch)
tree79db36ced46bffa0c6e19e0f169c52744de28985
parent16c785b6212d78c0a79421e249e8036842e39382 (diff)
downloademacs-5561d5de56db90b6d9ca637f2beb2f837f224009.tar.gz
Make the edebug-all-defs user option work more reliably
* 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).
-rw-r--r--lisp/emacs-lisp/edebug.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index fe97804ec4a..1720393b3e5 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -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