diff options
| author | Po Lu | 2022-12-10 19:26:54 +0800 |
|---|---|---|
| committer | Po Lu | 2022-12-10 19:27:26 +0800 |
| commit | dc37090d6e26f561b8f89e7afe8e2c3fa3543608 (patch) | |
| tree | 1605d9250246adc7d7ff753c64ce72e2e77faf11 /src | |
| parent | d3494f1bded55a3dce3dcaee1e10a76b7b8765f4 (diff) | |
| download | emacs-dc37090d6e26f561b8f89e7afe8e2c3fa3543608.tar.gz emacs-dc37090d6e26f561b8f89e7afe8e2c3fa3543608.zip | |
Improve X error messages
* src/xterm.c (x_connection_closed): Don't print handler blurb
if nothing is there to be printed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 872326392a6..c6fa29943bf 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -26048,9 +26048,10 @@ For details, see etc/PROBLEMS.\n", | |||
| 26048 | if (!ioerror && dpyinfo) | 26048 | if (!ioerror && dpyinfo) |
| 26049 | { | 26049 | { |
| 26050 | /* Dump the list of error handlers for debugging | 26050 | /* Dump the list of error handlers for debugging |
| 26051 | purposes. */ | 26051 | purposes if the list exists. */ |
| 26052 | 26052 | ||
| 26053 | fprintf (stderr, "X error handlers currently installed:\n"); | 26053 | if (dpyinfo->failable_requests || x_error_message) |
| 26054 | fprintf (stderr, "X error handlers currently installed:\n"); | ||
| 26054 | 26055 | ||
| 26055 | for (failable = dpyinfo->failable_requests; | 26056 | for (failable = dpyinfo->failable_requests; |
| 26056 | failable < dpyinfo->next_failable_request; | 26057 | failable < dpyinfo->next_failable_request; |