# HG changeset patch # User Gerd Moellmann # Date 964021672 0 # Node ID 4cd1b8fe118c661bd50ce400cdbc896470c39f3f # Parent 6dd0219378f561a8e52d214098587f4cf17679d6 (direct_output_for_insert): Remove confusing outer local variable mouse_face_overwritten_p. (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG. diff -r 6dd0219378f5 -r 4cd1b8fe118c src/dispnew.c --- a/src/dispnew.c Wed Jul 19 15:47:31 2000 +0000 +++ b/src/dispnew.c Wed Jul 19 15:47:52 2000 +0000 @@ -135,7 +135,9 @@ int, int, struct dim)); static void change_frame_size_1 P_ ((struct frame *, int, int, int, int, int)); static void swap_glyph_pointers P_ ((struct glyph_row *, struct glyph_row *)); +#ifdef GLYPH_DEBUG static int glyph_row_slice_p P_ ((struct glyph_row *, struct glyph_row *)); +#endif static void fill_up_frame_row_with_spaces P_ ((struct glyph_row *, int)); static void build_frame_matrix_from_window_tree P_ ((struct glyph_matrix *, struct window *)); @@ -1190,6 +1192,8 @@ is non-zero if the glyph memory of WINDOW_ROW is part of the glyph memory of FRAME_ROW. */ +#ifdef GLYPH_DEBUG + static int glyph_row_slice_p (window_row, frame_row) struct glyph_row *window_row, *frame_row; @@ -1202,6 +1206,7 @@ && window_glyph_start < frame_glyph_end); } +#endif /* GLYPH_DEBUG */ #if 0 @@ -3136,7 +3141,6 @@ int added_width; struct text_pos pos; int delta, delta_bytes; - int mouse_face_overwritten_p; /* Not done directly. */ redisplay_performed_directly_p = 0;