diff options
| author | Karl Heuer | 1995-05-25 14:28:18 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-25 14:28:18 +0000 |
| commit | d99d58630a8f63158cd78c7a5578febcc797fa3a (patch) | |
| tree | d06612ad89212ae9f6d8530dcf0fe28ff73d17fb | |
| parent | dd913f03bd109ae7003dee0f6c492e6f31533850 (diff) | |
| download | emacs-d99d58630a8f63158cd78c7a5578febcc797fa3a.tar.gz emacs-d99d58630a8f63158cd78c7a5578febcc797fa3a.zip | |
(message): Cast arg of doprnt.
(scroll_bottom_vpos, fmodetrunc): Declarations deleted.
| -rw-r--r-- | src/xdisp.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 81a2b754ff3..48c57676757 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -77,11 +77,6 @@ static int this_line_start_hpos; | |||
| 77 | /* Buffer that this_line variables are describing. */ | 77 | /* Buffer that this_line variables are describing. */ |
| 78 | static struct buffer *this_line_buffer; | 78 | static struct buffer *this_line_buffer; |
| 79 | 79 | ||
| 80 | /* Set by try_window_id to the vpos of first of any lines | ||
| 81 | scrolled on to the bottom of the frame. These lines should | ||
| 82 | not be included in any general scroll computation. */ | ||
| 83 | static int scroll_bottom_vpos; | ||
| 84 | |||
| 85 | /* Value of echo_area_glyphs when it was last acted on. | 80 | /* Value of echo_area_glyphs when it was last acted on. |
| 86 | If this is nonzero, there is a message on the frame | 81 | If this is nonzero, there is a message on the frame |
| 87 | in the minibuffer and it should be erased as soon | 82 | in the minibuffer and it should be erased as soon |
| @@ -166,7 +161,6 @@ static int try_window_id (); | |||
| 166 | static struct position *display_text_line (); | 161 | static struct position *display_text_line (); |
| 167 | static void display_mode_line (); | 162 | static void display_mode_line (); |
| 168 | static int display_mode_element (); | 163 | static int display_mode_element (); |
| 169 | static char *fmodetrunc (); | ||
| 170 | static char *decode_mode_spec (); | 164 | static char *decode_mode_spec (); |
| 171 | static int display_string (); | 165 | static int display_string (); |
| 172 | static void display_menu_bar (); | 166 | static void display_menu_bar (); |
| @@ -505,10 +499,10 @@ message (m, a1, a2, a3) | |||
| 505 | a[2] = a3; | 499 | a[2] = a3; |
| 506 | 500 | ||
| 507 | len = doprnt (FRAME_MESSAGE_BUF (echo_frame), | 501 | len = doprnt (FRAME_MESSAGE_BUF (echo_frame), |
| 508 | FRAME_WIDTH (echo_frame), m, 0, 3, a); | 502 | FRAME_WIDTH (echo_frame), m, (char *)0, 3, a); |
| 509 | #else | 503 | #else |
| 510 | len = doprnt (FRAME_MESSAGE_BUF (echo_frame), | 504 | len = doprnt (FRAME_MESSAGE_BUF (echo_frame), |
| 511 | FRAME_WIDTH (echo_frame), m, 0, 3, &a1); | 505 | FRAME_WIDTH (echo_frame), m, (char *)0, 3, &a1); |
| 512 | #endif /* NO_ARG_ARRAY */ | 506 | #endif /* NO_ARG_ARRAY */ |
| 513 | 507 | ||
| 514 | message2 (FRAME_MESSAGE_BUF (echo_frame), len); | 508 | message2 (FRAME_MESSAGE_BUF (echo_frame), len); |