diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 673f6ff6230..5580fbdda69 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4255,6 +4255,7 @@ x_catch_errors () | |||
| 4255 | /* If any X protocol errors have arrived since the last call to | 4255 | /* If any X protocol errors have arrived since the last call to |
| 4256 | x_catch_errors or x_check_errors, signal an Emacs error using | 4256 | x_catch_errors or x_check_errors, signal an Emacs error using |
| 4257 | sprintf (a buffer, FORMAT, the x error message text) as the text. */ | 4257 | sprintf (a buffer, FORMAT, the x error message text) as the text. */ |
| 4258 | |||
| 4258 | void | 4259 | void |
| 4259 | x_check_errors (format) | 4260 | x_check_errors (format) |
| 4260 | char *format; | 4261 | char *format; |
| @@ -4272,6 +4273,8 @@ x_check_errors (format) | |||
| 4272 | } | 4273 | } |
| 4273 | } | 4274 | } |
| 4274 | 4275 | ||
| 4276 | /* Stop catching X protocol errors and let them make Emacs die. */ | ||
| 4277 | |||
| 4275 | void | 4278 | void |
| 4276 | x_uncatch_errors () | 4279 | x_uncatch_errors () |
| 4277 | { | 4280 | { |