diff options
| author | Eli Zaretskii | 2001-01-02 14:24:29 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-01-02 14:24:29 +0000 |
| commit | 478d746bab6b41f54e41ffb5e20eb171c28040d9 (patch) | |
| tree | a5b47225f4a3da47a94231568d03fcf4708e0d2d /src | |
| parent | 57328c1f51fe6702fe449fd8b26d84ef8d873849 (diff) | |
| download | emacs-478d746bab6b41f54e41ffb5e20eb171c28040d9.tar.gz emacs-478d746bab6b41f54e41ffb5e20eb171c28040d9.zip | |
(make_cursor_line_fully_visible): Remove unused variable
`header_line_height'.
(append_space, extend_face_to_end_of_line): Declare `saved_what'
enum display_element_type.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index c1b312f1a42..3230a8b7432 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -8760,7 +8760,7 @@ make_cursor_line_fully_visible (w) | |||
| 8760 | { | 8760 | { |
| 8761 | struct glyph_matrix *matrix; | 8761 | struct glyph_matrix *matrix; |
| 8762 | struct glyph_row *row; | 8762 | struct glyph_row *row; |
| 8763 | int window_height, header_line_height; | 8763 | int window_height; |
| 8764 | 8764 | ||
| 8765 | /* It's not always possible to find the cursor, e.g, when a window | 8765 | /* It's not always possible to find the cursor, e.g, when a window |
| 8766 | is full of overlay strings. Don't do anything in that case. */ | 8766 | is full of overlay strings. Don't do anything in that case. */ |
| @@ -11758,7 +11758,7 @@ append_space (it, default_face_p) | |||
| 11758 | Must save IT->c and IT->len because otherwise | 11758 | Must save IT->c and IT->len because otherwise |
| 11759 | ITERATOR_AT_END_P wouldn't work anymore after | 11759 | ITERATOR_AT_END_P wouldn't work anymore after |
| 11760 | append_space has been called. */ | 11760 | append_space has been called. */ |
| 11761 | int saved_what = it->what; | 11761 | enum display_element_type saved_what = it->what; |
| 11762 | int saved_c = it->c, saved_len = it->len; | 11762 | int saved_c = it->c, saved_len = it->len; |
| 11763 | int saved_x = it->current_x; | 11763 | int saved_x = it->current_x; |
| 11764 | int saved_face_id = it->face_id; | 11764 | int saved_face_id = it->face_id; |
| @@ -11859,7 +11859,7 @@ extend_face_to_end_of_line (it) | |||
| 11859 | int saved_x = it->current_x; | 11859 | int saved_x = it->current_x; |
| 11860 | struct text_pos saved_pos; | 11860 | struct text_pos saved_pos; |
| 11861 | Lisp_Object saved_object; | 11861 | Lisp_Object saved_object; |
| 11862 | int saved_what = it->what; | 11862 | enum display_element_type saved_what = it->what; |
| 11863 | int saved_face_id = it->face_id; | 11863 | int saved_face_id = it->face_id; |
| 11864 | 11864 | ||
| 11865 | saved_object = it->object; | 11865 | saved_object = it->object; |