]> git.eshelyaron.com Git - emacs.git/commit
Don't enter the debugger from *Backtrace* or edebug on eval errors
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2022 11:40:13 +0000 (13:40 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2022 11:40:13 +0000 (13:40 +0200)
commit7c8bec9e1ffe087918f6f218fc4560fc968aebb2
tree2546ec6c38b293890826a0b93e2f66a2ea8f7e2f
parent81ce4b0e4ee18520f174cc5b46219e4475fcc956
Don't enter the debugger from *Backtrace* or edebug on eval errors

* doc/lispref/debugging.texi (Error Debugging): Document it.

* doc/lispref/edebug.texi (Edebug Eval): Mention it.
* lisp/emacs-lisp/debug.el (debug-allow-recursive-debug): New user
option (bug#36145).
(debugger-eval-expression): Use it.

* lisp/emacs-lisp/edebug.el (edebug-eval-expression): Ditto.

This patch is based on a patch by Noam Postavsky.
doc/lispref/debugging.texi
doc/lispref/edebug.texi
etc/NEWS
lisp/emacs-lisp/debug.el
lisp/emacs-lisp/edebug.el