diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-21 12:26:30 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-21 12:26:36 +0100 |
commit | 5561d5de56db90b6d9ca637f2beb2f837f224009 (patch) | |
tree | 79db36ced46bffa0c6e19e0f169c52744de28985 /lisp/emacs-lisp | |
parent | 16c785b6212d78c0a79421e249e8036842e39382 (diff) | |
download | emacs-5561d5de56db90b6d9ca637f2beb2f837f224009.tar.gz emacs-5561d5de56db90b6d9ca637f2beb2f837f224009.tar.bz2 emacs-5561d5de56db90b6d9ca637f2beb2f837f224009.zip |
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).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/edebug.el | 6 |
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 |