(XTmouse_position, x_term_init):
authorRichard M. Stallman <rms@gnu.org>
Thu, 1 May 1997 01:57:25 +0000 (01:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 1 May 1997 01:57:25 +0000 (01:57 +0000)
commite99db5a15cc84acda9f2a94285115bd68c11f507
treea3b0958f7f5b3c969eacb50665edff297df8d1f2
parent610c1c68c1dd1fecd07cabd24d9ea8341e768c74
(XTmouse_position, x_term_init):
Save value of x_catch_errors and pass to x_uncatch_errors.

(x_catch_errors): Use specpdl so can be nested.
Use a Lisp string to as the buffer for the X message.
(x_uncatch_errors, x_had_errors_p, x_check_errors): Related changes.
(x_catch_errors_unwind): New function.
(x_error_quitter): Call x_error_catcher if appropriate.
(x_error_message_string): New variable.
(syms_of_xterm): Defvar it.
(x_caught_error_message): Variable deleted.
(X_ERROR_MESSAGE_SIZE): Renamed from X_CAUGHT_ERROR_MESSAGE_SIZE.
(x_error_handler): New function, calls x_error_quitter or ..._checker.
(x_initialize): Use x_error_handler as error handler for X.
src/xterm.c