From 2d5912c169a99a491d4384b50729dfdbab8e2f40 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 28 Dec 2000 10:08:46 +0000 Subject: [PATCH] Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG. --- src/ChangeLog | 6 +++++- src/dispnew.c | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b6070d09330..13000ca9231 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2000-12-28 Gerd Moellmann + + * dispnew.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG. + 2000-12-28 Kenichi Handa * ccl.c (CCL_WRITE_CHAR): Check variable `extra_bytes'. @@ -19,7 +23,7 @@ decode_composition_emacs_mule. (ENCODE_COMPOSITION_EMACS_MULE): New macro. (encode_coding_emacs_mule): Changed from macro to function. If - a text contains compostions, encode them correctly. + a text contains compositions, encode them correctly. (setup_coding_system): Set coding->commong_flags for emacs-mule so that decoding and encoding are required. diff --git a/src/dispnew.c b/src/dispnew.c index 87e7f689bb7..ed512a03ea9 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1304,7 +1304,7 @@ assign_row (to, from) is non-zero if the glyph memory of WINDOW_ROW is part of the glyph memory of FRAME_ROW. */ -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG static int glyph_row_slice_p (window_row, frame_row) @@ -3773,7 +3773,7 @@ update_frame (f, force_p, inhibit_hairy_id_p) fflush (stdout); /* Check window matrices for lost pointers. */ -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG check_window_matrix_pointers (root_window); add_frame_display_history (f, paused_p); #endif @@ -4094,7 +4094,7 @@ update_window (w, force_p) else paused_p = 1; -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG add_window_display_history (w, w->current_matrix->method, paused_p); #endif @@ -6482,7 +6482,7 @@ syms_of_display () defsubr (&Sinternal_show_cursor); defsubr (&Sinternal_show_cursor_p); -#ifdef GLYPH_DEBUG +#if GLYPH_DEBUG defsubr (&Sdump_redisplay_history); #endif -- 2.39.2