David Kastrup <[EMAIL PROTECTED]> writes: > Would it be possible to change the default of xassert to a noop in > dispextern.h again?
This would be the following one-liner coupling the xasserts with GLYPH_DEBUG.
--- dispextern.h 26 Feb 2005 02:26:33 +0100 1.197 +++ dispextern.h 01 Mar 2005 18:10:32 +0100 @@ -128,7 +128,7 @@ #endif /* Maybe move this inside the above `#ifdef GLYPH_DEBUG' for release. */ -#define xassert(X) do {if (!(X)) abort ();} while (0) +#define xassert(X) IF_DEBUG(do {if (!(X)) abort ();} while (0)) /* Macro for displaying traces of redisplay. If Emacs was compiled with GLYPH_DEBUG != 0, the variable trace_redisplay_p can be set to
Please, pretty please. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum
_______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel