1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00

Document backtrace-on-error-noninteractive in the --batch section

* doc/emacs/cmdargs.texi (Initial Options): Mention
backtrace-on-error-noninteractive.
This commit is contained in:
Lars Ingebrigtsen 2021-09-13 12:35:50 +02:00
parent 11da064ff1
commit 0dc630b35b
2 changed files with 6 additions and 0 deletions

View File

@ -266,6 +266,11 @@ disables auto-saving except in buffers for which auto-saving is
explicitly requested, and when saving files it omits the @code{fsync}
system call unless otherwise requested.
@vindex backtrace-on-error-noninteractive
Errors that occur when running a @samp{--batch} Emacs will result in
an Emacs Lisp backtrace being printed. To disable this behaviour, set
@code{backtrace-on-error-noninteractive} to @code{nil}.
@item --script @var{file}
@opindex --script
@cindex script mode

View File

@ -2983,6 +2983,7 @@ file:
* Incompatible Lisp Changes in Emacs 28.1
+++
** Emacs now prints a backtrace when signaling an error in batch mode.
This makes debugging Emacs Lisp scripts run in batch mode easier. To
get back the old behavior, set the new variable