/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.840 by kfstorm, Fri Aug 20 10:34:11 2004 UTC revision 1.841 by jhd, Tue Aug 24 17:22:33 2004 UTC
# Line 7604  static Lisp_Object Line 7604  static Lisp_Object
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;

Legend:
Removed from v.1.840  
changed lines
  Added in v.1.841

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26