From: Eli Zaretskii Date: Sat, 21 Jul 2018 09:28:11 +0000 (+0300) Subject: Improve doc strings of several variables in keyboard.c X-Git-Tag: emacs-26.1.90~255 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7308fa0e2b8d929a4e0f7f54ac46228f93674672;p=emacs.git Improve doc strings of several variables in keyboard.c * src/keyboard.c (syms_of_keyboard) : Make sure the first sentence of the doc string fits on a single line. --- diff --git a/src/keyboard.c b/src/keyboard.c index e62dd0ec489..1da5ac088d3 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -11854,10 +11854,10 @@ if the command is in this list, the selection is not updated. */); DEFVAR_LISP ("debug-on-event", Vdebug_on_event, - doc: /* Enter debugger on this event. When Emacs -receives the special event specified by this variable, it will try to -break into the debugger as soon as possible instead of processing the -event normally through `special-event-map'. + doc: /* Enter debugger on this event. +When Emacs receives the special event specified by this variable, +it will try to break into the debugger as soon as possible instead +of processing the event normally through `special-event-map'. Currently, the only supported values for this variable are `sigusr1' and `sigusr2'. */); @@ -11865,21 +11865,23 @@ variable are `sigusr1' and `sigusr2'. */); DEFVAR_BOOL ("attempt-stack-overflow-recovery", attempt_stack_overflow_recovery, - doc: /* If non-nil, attempt to recover from C stack -overflow. This recovery is unsafe and may lead to deadlocks or data + doc: /* If non-nil, attempt to recover from C stack overflows. +This recovery is potentially unsafe and may lead to deadlocks or data corruption, but it usually works and may preserve modified buffers that would otherwise be lost. If nil, treat stack overflow like any -other kind of crash. */); +other kind of crash or fatal error. */); attempt_stack_overflow_recovery = true; DEFVAR_BOOL ("attempt-orderly-shutdown-on-fatal-signal", attempt_orderly_shutdown_on_fatal_signal, - doc: /* If non-nil, attempt to perform an orderly -shutdown when Emacs receives a fatal signal (e.g., a crash). -This cleanup is unsafe and may lead to deadlocks or data corruption, -but it usually works and may preserve modified buffers that would -otherwise be lost. If nil, crash immediately in response to fatal -signals. */); + 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. */); attempt_orderly_shutdown_on_fatal_signal = true; /* Create the initial keyboard. Qt means 'unset'. */