aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorRichard M. Stallman2006-03-11 15:20:09 +0000
committerRichard M. Stallman2006-03-11 15:20:09 +0000
commite6feb692fb27773fd062a63e2b30aef4db5d4bac (patch)
treebe4c2c570f90cabc721e2f749f6f6c5ffa81feb9 /src/xterm.c
parent88019a632801faf4b322b997971658a83274f33d (diff)
downloademacs-e6feb692fb27773fd062a63e2b30aef4db5d4bac.tar.gz
emacs-e6feb692fb27773fd062a63e2b30aef4db5d4bac.zip
(x_fully_uncatch_errors, x_catching_errors): New functions.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index c0941b7cbdb..92b245f2b32 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7590,6 +7590,23 @@ x_clear_errors (dpy)
7590 x_error_message->string[0] = 0; 7590 x_error_message->string[0] = 0;
7591} 7591}
7592 7592
7593/* Close off all unclosed x_catch_errors calls. */
7594
7595void
7596x_fully_uncatch_errors ()
7597{
7598 while (x_error_message)
7599 x_uncatch_errors ();
7600}
7601
7602/* Nonzero if x_catch_errors has been done and not yet canceled. */
7603
7604int
7605x_catching_errors ()
7606{
7607 return x_error_message != 0;
7608}
7609
7593#if 0 7610#if 0
7594static unsigned int x_wire_count; 7611static unsigned int x_wire_count;
7595x_trace_wire () 7612x_trace_wire ()