diff options
| author | Gerd Moellmann | 2000-07-19 15:47:52 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-07-19 15:47:52 +0000 |
| commit | 9339e87f340f1136919f6e2ec5bb3e94799b80e8 (patch) | |
| tree | fb4bcf228b8393f25d46079a3e8e36a668d5755a | |
| parent | 5433ffa54fd85c592235bbd48993a995df2b1fb8 (diff) | |
| download | emacs-9339e87f340f1136919f6e2ec5bb3e94799b80e8.tar.gz emacs-9339e87f340f1136919f6e2ec5bb3e94799b80e8.zip | |
(direct_output_for_insert): Remove confusing
outer local variable mouse_face_overwritten_p.
(glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG.
| -rw-r--r-- | src/dispnew.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 5ab468e6ee6..0d274b6bd0f 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -135,7 +135,9 @@ static void adjust_glyph_matrix P_ ((struct window *, struct glyph_matrix *, | |||
| 135 | int, int, struct dim)); | 135 | int, int, struct dim)); |
| 136 | static void change_frame_size_1 P_ ((struct frame *, int, int, int, int, int)); | 136 | static void change_frame_size_1 P_ ((struct frame *, int, int, int, int, int)); |
| 137 | static void swap_glyph_pointers P_ ((struct glyph_row *, struct glyph_row *)); | 137 | static void swap_glyph_pointers P_ ((struct glyph_row *, struct glyph_row *)); |
| 138 | #ifdef GLYPH_DEBUG | ||
| 138 | static int glyph_row_slice_p P_ ((struct glyph_row *, struct glyph_row *)); | 139 | static int glyph_row_slice_p P_ ((struct glyph_row *, struct glyph_row *)); |
| 140 | #endif | ||
| 139 | static void fill_up_frame_row_with_spaces P_ ((struct glyph_row *, int)); | 141 | static void fill_up_frame_row_with_spaces P_ ((struct glyph_row *, int)); |
| 140 | static void build_frame_matrix_from_window_tree P_ ((struct glyph_matrix *, | 142 | static void build_frame_matrix_from_window_tree P_ ((struct glyph_matrix *, |
| 141 | struct window *)); | 143 | struct window *)); |
| @@ -1190,6 +1192,8 @@ assign_row (to, from) | |||
| 1190 | is non-zero if the glyph memory of WINDOW_ROW is part of the glyph | 1192 | is non-zero if the glyph memory of WINDOW_ROW is part of the glyph |
| 1191 | memory of FRAME_ROW. */ | 1193 | memory of FRAME_ROW. */ |
| 1192 | 1194 | ||
| 1195 | #ifdef GLYPH_DEBUG | ||
| 1196 | |||
| 1193 | static int | 1197 | static int |
| 1194 | glyph_row_slice_p (window_row, frame_row) | 1198 | glyph_row_slice_p (window_row, frame_row) |
| 1195 | struct glyph_row *window_row, *frame_row; | 1199 | struct glyph_row *window_row, *frame_row; |
| @@ -1202,6 +1206,7 @@ glyph_row_slice_p (window_row, frame_row) | |||
| 1202 | && window_glyph_start < frame_glyph_end); | 1206 | && window_glyph_start < frame_glyph_end); |
| 1203 | } | 1207 | } |
| 1204 | 1208 | ||
| 1209 | #endif /* GLYPH_DEBUG */ | ||
| 1205 | 1210 | ||
| 1206 | #if 0 | 1211 | #if 0 |
| 1207 | 1212 | ||
| @@ -3136,7 +3141,6 @@ direct_output_for_insert (g) | |||
| 3136 | int added_width; | 3141 | int added_width; |
| 3137 | struct text_pos pos; | 3142 | struct text_pos pos; |
| 3138 | int delta, delta_bytes; | 3143 | int delta, delta_bytes; |
| 3139 | int mouse_face_overwritten_p; | ||
| 3140 | 3144 | ||
| 3141 | /* Not done directly. */ | 3145 | /* Not done directly. */ |
| 3142 | redisplay_performed_directly_p = 0; | 3146 | redisplay_performed_directly_p = 0; |