* doc/emacs/cmdargs.texi (Initial Options): Mention
backtrace-on-error-noninteractive.
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
\f
* 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