diff options
author | Miles Bader <[email protected]> | 2005-02-03 03:56:00 +0000 |
---|---|---|
committer | Miles Bader <[email protected]> | 2005-02-03 03:56:00 +0000 |
commit | d78f30b86d46ec52982a98cf7fb1811b3568961d (patch) | |
tree | a13657514fecf14f8d34400c00a63b5efd05d03b /src | |
parent | fbbde29acf66db8c98f3f88e9c4d3a51f141d35a (diff) |
Revision: [email protected]/emacs--cvs-trunk--0--patch-72
src/dispextern.h (xassert): Enable unconditionally.
2005-02-02 Miles Bader <[email protected]>
* src/dispextern.h (xassert): Enable unconditionally.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/dispextern.h | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a1eeec8770..721c118467 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-02-02 Miles Bader <[email protected]> + + * dispextern.h (xassert): Enable unconditionally. + 2005-02-02 Kim F. Storm <[email protected]> * undo.c (Fprimitive_undo): Fix dummy apply undo entry. diff --git a/src/dispextern.h b/src/dispextern.h index 3b72e54b6d..a11e4daaa2 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1,5 +1,5 @@ /* Interface definitions for display code. - Copyright (C) 1985,93,94,97,98,99, 2000,01,02,03, 2004 + Copyright (C) 1985,93,94,97,98,99, 2000,01,02,03, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -123,12 +123,13 @@ enum window_part #if GLYPH_DEBUG #define IF_DEBUG(X) X -#define xassert(X) do {if (!(X)) abort ();} while (0) #else #define IF_DEBUG(X) (void) 0 -#define xassert(X) (void) 0 #endif +/* Maybe move this inside the above `#ifdef GLYPH_DEBUG' for release. */ +#define xassert(X) 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 a non-zero value in debugging sessions to activate traces. */ |