diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-04-19 18:46:50 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-04-19 18:46:50 +0200 |
commit | b5c76530fab4b99e76249bfb9a105b30bef4ce67 (patch) | |
tree | 319d7a65b6f818cebed9833534a423fbcb79a9b5 /lisp/emacs-lisp/edebug.el | |
parent | e54066f3d459f67a1ee4e44552bf0356d010e03f (diff) | |
parent | 0a4dc70830f5e8286b47120cabc750cca07a75c1 (diff) | |
download | emacs-b5c76530fab4b99e76249bfb9a105b30bef4ce67.tar.gz emacs-b5c76530fab4b99e76249bfb9a105b30bef4ce67.tar.bz2 emacs-b5c76530fab4b99e76249bfb9a105b30bef4ce67.zip |
Merge remote-tracking branch 'savannah/master' into native-comp
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
-rw-r--r-- | lisp/emacs-lisp/edebug.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index cbc40193125..b08ee3c4a17 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -459,6 +459,9 @@ invoked without a prefix argument. If acting on a `defun' for FUNCTION, and the function was instrumented, `Edebug: FUNCTION' is printed in the minibuffer. If not instrumented, just FUNCTION is printed." + ;; Re-install our advice, in case `debug' re-bound `load-read-function' to + ;; its default value. + (add-function :around load-read-function #'edebug--read) (let* ((edebug-all-forms (not (eq (not edebug-it) (not edebug-all-defs)))) (edebug-all-defs edebug-all-forms)) (funcall orig-fun nil))) |