]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/edebug.el (eval-defun): Simplify
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 18 Feb 2021 15:27:36 +0000 (10:27 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 18 Feb 2021 15:27:36 +0000 (10:27 -0500)
commitbae2cfe63cbd11eaf348dfa7fbb2b9f7362fc747
tree80b005df5288148004d2de433518429e4be9e61d
parenteb9f80e37b42576dd5a86c89e18d44ad2cec4273
* lisp/emacs-lisp/edebug.el (eval-defun): Simplify

(edebug-all-defs, edebug-all-forms): Don't autoload since the problem
it was working around has been fixed a while back.
(edebug--eval-defun): Rename from `edebug-eval-defun` and simplify by
making it an `:around` advice.
(edebug-install-read-eval-functions)
(edebug-uninstall-read-eval-functions): Adjust accordingly.
(edebug-eval-defun): Redefine as an obsolete wrapper.

* lisp/progmodes/elisp-mode.el (elisp--eval-defun):
Use `load-read-function` so it obeys `edebug-all-(defs|forms)`.
(elisp--eval-defun): Fix recent regression introduced with
`elisp--eval-defun-result`.
lisp/emacs-lisp/edebug.el
lisp/progmodes/elisp-mode.el