diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2007-05-12 23:35:31 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2007-05-12 23:35:31 +0000 |
commit | 1aa84454cad44695c527bc0d981108c384364412 (patch) | |
tree | b9d77374651bd95bfe28df5aca82ab8c10b816f9 | |
parent | e9c8d98415bc2b2ef657fdcd79e2f4ac1d8594b5 (diff) | |
download | emacs-1aa84454cad44695c527bc0d981108c384364412.tar.gz |
(XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 4f77e22ac59..9adb2b2c259 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7065,6 +7065,7 @@ XTread_socket (sd, expected, hold_quit) #endif #ifndef USE_GTK + x_catch_errors (dpyinfo->display); while (XPending (dpyinfo->display)) { int finish; @@ -7083,6 +7084,7 @@ XTread_socket (sd, expected, hold_quit) if (finish == X_EVENT_GOTO_OUT) goto out; } + x_uncatch_errors (); #endif /* not USE_GTK */ } |