* xterm.h (x_catch_errors) Return value changed to void.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 25 Feb 2006 23:20:10 +0000 (23:20 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 25 Feb 2006 23:20:10 +0000 (23:20 +0000)
commit9ba8e10d9946be97282d6ba629cf26cd22676a61
tree33293d21976e945b3090fb7fed6f15c7806febf7
parentf523e0c3c54c135e24284fe90d8e67120612ff99
* xterm.h (x_catch_errors) Return value changed to void.
(x_uncatch_errors): Unused count argument deleted.

* xterm.c (x_catch_errors): Don't use record_unwind_protect, since
it can be called in a signal handler.
(x_catch_errors_unwind): Function deleted.
(x_uncatch_errors): Deallocate last x_error_message_stack struct.
(x_check_errors): Call x_uncatch_errors before signalling error.

(x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
(x_connection_closed, x_list_fonts): Use new versions of
x_catch_errors and x_uncatch_errors.

* xselect.c (x_own_selection, x_decline_selection_request)
(x_reply_selection_request, x_get_foreign_selection)
(Fx_get_atom_name, Fx_send_client_event): Likewise.

* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
Likewise.

* eval.c (record_unwind_protect): Add an assertion.
src/ChangeLog
src/eval.c
src/xfns.c
src/xselect.c
src/xterm.c
src/xterm.h