Variable: attempt-orderly-shutdown-on-fatal-signal

attempt-orderly-shutdown-on-fatal-signal is a variable defined in keyboard.c.

Value

t

Documentation

If non-nil, attempt orderly shutdown on fatal signals.

By default this variable is non-nil, and Emacs attempts to perform an orderly shutdown when it catches a fatal signal (e.g., a crash). The orderly shutdown includes an attempt to auto-save your unsaved edits and other useful cleanups. These cleanups are potentially unsafe and may lead to deadlocks or data corruption, but it usually works and may preserve data in modified buffers that would otherwise be lost. If nil, Emacs crashes immediately in response to fatal signals.

Probably introduced at or before Emacs version 26.1.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  DEFVAR_BOOL ("attempt-orderly-shutdown-on-fatal-signal",
               attempt_orderly_shutdown_on_fatal_signal,
               doc: /* If non-nil, attempt orderly shutdown on fatal signals.
By default this variable is non-nil, and Emacs attempts to perform
an orderly shutdown when it catches a fatal signal (e.g., a crash).
The orderly shutdown includes an attempt to auto-save your unsaved edits
and other useful cleanups.  These cleanups are potentially unsafe and may
lead to deadlocks or data corruption, but it usually works and may
preserve data in modified buffers that would otherwise be lost.
If nil, Emacs crashes immediately in response to fatal signals.  */);