]> git.eshelyaron.com Git - emacs.git/commit
Add new variable to selectively suppress backtraces in batch mode.
authorPhilipp Stephani <phst@google.com>
Mon, 7 Dec 2020 10:55:29 +0000 (11:55 +0100)
committerPhilipp Stephani <phst@google.com>
Mon, 7 Dec 2020 10:59:06 +0000 (11:59 +0100)
commit3970f4ac405516ad3d1aba5079c0754ec1dc5da1
tree268db1ef9a2b7547b90ac71780b3e98fb0cf0beb
parent2187b805d1621e187b38e029e64c1f49c881737a
Add new variable to selectively suppress backtraces in batch mode.

* src/eval.c (syms_of_eval): Define new variable
'backtrace-on-error-noninteractive' to selectively enable backtrace
printing in batch mode.
(signal_or_quit): Use it.

* etc/NEWS: Document new variable.

* test/src/eval-tests.el (eval-tests/backtrace-in-batch-mode/inhibit):
New unit test.
etc/NEWS
src/eval.c
test/src/eval-tests.el