Variable: backtrace-on-error-noninteractive

backtrace-on-error-noninteractive is a variable defined in eval.c.

Value

t

Documentation

Non-nil means print backtrace on error in batch mode.

If this is nil, errors in batch mode will just print the error message upon encountering an unhandled error, without showing the Lisp backtrace.

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

// Defined in /usr/src/emacs/src/eval.c
  DEFVAR_BOOL ("backtrace-on-error-noninteractive",
               backtrace_on_error_noninteractive,
               doc: /* Non-nil means print backtrace on error in batch mode.
If this is nil, errors in batch mode will just print the error
message upon encountering an unhandled error, without showing
the Lisp backtrace.  */);