diff options
| author | Eli Zaretskii | 2020-12-08 18:43:09 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-12-08 18:43:09 +0200 |
| commit | 26b198cef987dc087994c8ce8bf852c4a37dbca0 (patch) | |
| tree | a1abe6eecdb6303662c7eda65f7480e0ba19bfe1 /src | |
| parent | 38c9b0bbdd1c95dc34af4aaf27183fd27aba1c9e (diff) | |
| download | emacs-26b198cef987dc087994c8ce8bf852c4a37dbca0.tar.gz emacs-26b198cef987dc087994c8ce8bf852c4a37dbca0.zip | |
Improve documentation of 'backtrace-on-error-noninteractive'
* src/eval.c (syms_of_eval) <backtrace-on-error-noninteractive>:
Format the doc string according to conventions.
* etc/NEWS: Improve formatting and wording of the entry describing
'backtrace-on-error-noninteractive.
Diffstat (limited to 'src')
| -rw-r--r-- | src/eval.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index 1351d283c58..e2d70aaa0ef 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -4267,8 +4267,10 @@ still determine whether to handle the particular condition. */); | |||
| 4267 | 4267 | ||
| 4268 | DEFVAR_BOOL ("backtrace-on-error-noninteractive", | 4268 | DEFVAR_BOOL ("backtrace-on-error-noninteractive", |
| 4269 | backtrace_on_error_noninteractive, | 4269 | backtrace_on_error_noninteractive, |
| 4270 | doc: /* If non-nil and Emacs is running noninteractively, | 4270 | doc: /* Non-nil means print backtrace on error in batch mode. |
| 4271 | print a backtrace on encountering an unhandled error. */); | 4271 | If this is nil, errors in batch mode will just print the error |
| 4272 | message upon encountering an unhandled error, without showing | ||
| 4273 | the Lisp backtrace. */); | ||
| 4272 | backtrace_on_error_noninteractive = true; | 4274 | backtrace_on_error_noninteractive = true; |
| 4273 | 4275 | ||
| 4274 | /* The value of num_nonmacro_input_events as of the last time we | 4276 | /* The value of num_nonmacro_input_events as of the last time we |