]> git.eshelyaron.com Git - emacs.git/commit
Print a backtrace on unhandled errors in batch mode (Bug#44942).
authorPhilipp Stephani <phst@google.com>
Sun, 29 Nov 2020 13:24:57 +0000 (14:24 +0100)
committerPhilipp Stephani <phst@google.com>
Sun, 6 Dec 2020 16:47:52 +0000 (17:47 +0100)
commit40e11743ca3803bdc2c6c612f35ab695efb3eb8b
tree85d9362c7e46106a3212716dff5f2cfd30ffdaba
parent87a9fc6dcd8e364c9ae27da27fee439dc41c2e25
Print a backtrace on unhandled errors in batch mode (Bug#44942).

* src/eval.c (signal_or_quit): Print a backtrace in batch mode if no
error handler was found.

* test/src/eval-tests.el (eval-tests/backtrace-in-batch-mode)
(eval-tests/backtrace-in-batch-mode/demoted-errors): New unit tests.

* etc/NEWS: Document change.
etc/NEWS
src/eval.c
test/src/eval-tests.el