7604 |
x_catch_errors_unwind (old_val) |
x_catch_errors_unwind (old_val) |
7605 |
Lisp_Object old_val; |
Lisp_Object old_val; |
7606 |
{ |
{ |
7607 |
Lisp_Object first; |
Lisp_Object first = XCAR (old_val); |
7608 |
|
Display *dpy = XSAVE_VALUE (first)->pointer; |
7609 |
|
|
7610 |
first = XCAR (old_val); |
/* The display may have been closed before this function is called. |
7611 |
|
Check if it is still open before calling XSync. */ |
7612 |
XSync (XSAVE_VALUE (first)->pointer, False); |
if (x_display_info_for_display (dpy) != 0) |
7613 |
|
XSync (dpy, False); |
7614 |
|
|
7615 |
x_error_message_string = XCDR (old_val); |
x_error_message_string = XCDR (old_val); |
7616 |
return Qnil; |
return Qnil; |