Mercurial > hg > xemacs-beta
diff src/redisplay.c @ 5470:0af042a0c116
Merge with trunk.
author | Mats Lidell <matsl@xemacs.org> |
---|---|
date | Mon, 07 Feb 2011 21:22:17 +0100 |
parents | 308d34e9f07d 39304a35b6b3 |
children | 58e320bde005 |
line wrap: on
line diff
--- a/src/redisplay.c Sat Jan 22 00:59:20 2011 +0100 +++ b/src/redisplay.c Mon Feb 07 21:22:17 2011 +0100 @@ -6686,12 +6686,25 @@ unbind_to (depth); } +static int the_ritual_suicide_has_been_cancelled = 0; + +void +redisplay_cancel_ritual_suicide(void) +{ + the_ritual_suicide_has_been_cancelled = 1; +} + #ifdef ERROR_CHECK_TRAPPING_PROBLEMS static Lisp_Object commit_ritual_suicide (Lisp_Object UNUSED (ceci_nest_pas_une_pipe)) { - assert (!in_display); + if (!the_ritual_suicide_has_been_cancelled) + { + assert (!in_display); + } + else + the_ritual_suicide_has_been_cancelled = 0; return Qnil; }